57 |
|
|
58 |
Gtk::VBox m_vbox; |
Gtk::VBox m_vbox; |
59 |
Gtk::HBox m_addHBox; |
Gtk::HBox m_addHBox; |
60 |
|
Gtk::HBox m_mainHBox; |
61 |
|
Gtk::VBox m_rvbox; |
62 |
|
Gtk::HButtonBox m_detailsButtonBox; |
63 |
Gtk::HBox m_footerHBox; |
Gtk::HBox m_footerHBox; |
64 |
Gtk::HBox m_statusHBox; |
Gtk::HBox m_statusHBox; |
65 |
Gtk::HButtonBox m_buttonBoxL; |
Gtk::HButtonBox m_buttonBoxL; |
97 |
Gtk::TreeView m_treeViewMacros; |
Gtk::TreeView m_treeViewMacros; |
98 |
Glib::RefPtr<MacroListTreeStore> m_treeStoreMacros; |
Glib::RefPtr<MacroListTreeStore> m_treeStoreMacros; |
99 |
bool m_ignoreTreeViewValueChange; |
bool m_ignoreTreeViewValueChange; |
100 |
|
bool m_ignoreCommentTextViewChange; |
101 |
|
bool m_modifiedBeforeMacroEditor; |
102 |
|
|
103 |
Gtk::Button m_addFromClipboardButton; |
Gtk::Button m_addFromClipboardButton; |
104 |
Gtk::Button m_addFromSelectionButton; |
Gtk::Button m_addFromSelectionButton; |
105 |
|
Gtk::Button m_buttonUp; |
106 |
|
Gtk::Button m_buttonDown; |
107 |
|
Gtk::Button m_buttonEdit; |
108 |
Gtk::Label m_statusLabel; |
Gtk::Label m_statusLabel; |
109 |
Gtk::Button m_deleteButton; |
Gtk::Button m_deleteButton; |
110 |
Gtk::Button m_inverseDeleteButton; |
Gtk::Button m_inverseDeleteButton; |
111 |
Gtk::Button m_applyButton; |
Gtk::Button m_applyButton; |
112 |
Gtk::Button m_cancelButton; |
Gtk::Button m_cancelButton; |
113 |
|
Gtk::Label m_labelComment; |
114 |
|
Gtk::ScrolledWindow m_scrolledWindowComment; |
115 |
|
Gtk::TextView m_textViewComment; |
116 |
|
|
117 |
bool m_altKeyDown; |
bool m_altKeyDown; |
118 |
bool m_primaryKeyDown; // on Mac: Cmd key, on all other OSs: Ctrl key |
bool m_primaryKeyDown; // on Mac: Cmd key, on all other OSs: Ctrl key |
119 |
|
|
120 |
|
int getSelectedMacroIndex() const; |
121 |
|
Serialization::Archive* getSelectedMacro(); |
122 |
bool isModified() const; |
bool isModified() const; |
123 |
void onButtonAddFromClipboard(); |
void onButtonAddFromClipboard(); |
124 |
void onButtonAddFromSelection(); |
void onButtonAddFromSelection(); |
125 |
|
void onButtonUp(); |
126 |
|
void onButtonDown(); |
127 |
|
void moveByDir(int d); |
128 |
|
void onButtonEdit(); |
129 |
|
void onCommentTextViewChanged(); |
130 |
void onButtonCancel(); |
void onButtonCancel(); |
131 |
void onButtonApply(); |
void onButtonApply(); |
132 |
void onWindowHide(); |
void onWindowHide(); |
138 |
void onMacroTreeViewKeyRelease(GdkEventKey* button); |
void onMacroTreeViewKeyRelease(GdkEventKey* button); |
139 |
void onMacroTreeViewRowValueChanged(const Gtk::TreeModel::Path& path, |
void onMacroTreeViewRowValueChanged(const Gtk::TreeModel::Path& path, |
140 |
const Gtk::TreeModel::iterator& iter); |
const Gtk::TreeModel::iterator& iter); |
141 |
|
void onMacroEditorAppliedChanges(); |
142 |
void deleteSelectedRows(); |
void deleteSelectedRows(); |
143 |
void inverseDeleteSelectedRows(); |
void inverseDeleteSelectedRows(); |
144 |
void deleteRows(const std::vector<Gtk::TreeModel::Path>& rows); |
void deleteRows(const std::vector<Gtk::TreeModel::Path>& rows); |