Logo Search packages:      
Sourcecode: inkscape version File versions

scriptdialog.h

Go to the documentation of this file.
/** @file
 * @brief Script dialog
 *
 * This dialog is for launching scripts whose main purpose is
 * the scripting of Inkscape itself.
 */
/* Authors:
 *   Bob Jamison
 *   Other dudes from The Inkscape Organization
 *
 * Copyright (C) 2004, 2005 Authors
 *
 * Released under GNU GPL, read the file 'COPYING' for more information
 */

#ifndef __SCRIPTDIALOG_H__
#define __SCRIPTDIALOG_H__

#include "ui/widget/panel.h"
#include "verbs.h"

namespace Inkscape {
namespace UI {
namespace Dialog {


/**
 * A script editor, loader, and executor
 */
class ScriptDialog : public UI::Widget::Panel
{

    public:


    /**
     * Constructor
     */
00039     ScriptDialog() : 
     UI::Widget::Panel("", "/dialogs/script", SP_VERB_DIALOG_SCRIPT)
    {}


    /**
     * Factory method
     */
    static ScriptDialog &getInstance();

    /**
     * Destructor
     */
00052     virtual ~ScriptDialog() {};


    private:
        int _max_dialog_width;
        int _max_dialog_height;


}; // class ScriptDialog


} //namespace Dialog
} //namespace UI
} //namespace Inkscape

#endif /* __DEBUGDIALOG_H__ */

/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :

Generated by  Doxygen 1.6.0   Back to index