3
* \brief Dialog for naming calligraphic profiles
2
* @brief Dialog for naming calligraphic profiles
8
* Copyright (C) 2007 Aubanel MONNIER
7
* Copyright (C) 2007 Authors
10
8
* Released under GNU GPL. Read the file 'COPYING' for more information
22
20
namespace Inkscape {
26
class CalligraphicProfileDialog: public Gtk::Dialog {
28
CalligraphicProfileDialog();
29
virtual ~CalligraphicProfileDialog(){} ;
30
static void show(SPDesktop *desktop);
31
static bool applied(){return instance()._applied;}
32
static Glib::ustring getProfileName() { return instance()._profile_name;}
34
Glib::ustring getName() const { return "CalligraphicProfileDialog"; }
41
Gtk::Label _profile_name_label;
42
Gtk::Entry _profile_name_entry;
43
Gtk::Table _layout_table;
44
Gtk::Button _close_button;
45
Gtk::Button _apply_button;
46
Glib::ustring _profile_name;
49
static CalligraphicProfileDialog &instance(){static CalligraphicProfileDialog instance; return instance;}
50
CalligraphicProfileDialog(CalligraphicProfileDialog const &); // no copy
51
CalligraphicProfileDialog &operator=(CalligraphicProfileDialog const &); // no assign
24
class CalligraphicProfileRename : public Gtk::Dialog {
26
CalligraphicProfileRename();
27
virtual ~CalligraphicProfileRename() {}
28
Glib::ustring getName() const {
29
return "CalligraphicProfileRename";
32
static void show(SPDesktop *desktop);
33
static bool applied() {
34
return instance()._applied;
36
static Glib::ustring getProfileName() {
37
return instance()._profile_name;
44
Gtk::Label _profile_name_label;
45
Gtk::Entry _profile_name_entry;
46
Gtk::Table _layout_table;
47
Gtk::Button _close_button;
48
Gtk::Button _apply_button;
49
Glib::ustring _profile_name;
52
static CalligraphicProfileRename &instance() {
53
static CalligraphicProfileRename instance_;
56
CalligraphicProfileRename(CalligraphicProfileRename const &); // no copy
57
CalligraphicProfileRename &operator=(CalligraphicProfileRename const &); // no assign
62
} // namespace Inkscape
57
64
#endif // INKSCAPE_DIALOG_CALLIGRAPHIC_PROFILE_H
69
c-file-style:"stroustrup"
70
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
75
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :