Go to the documentation of this file.
33 #ifndef TTA_OPTIONS_DIALOG_HH
34 #define TTA_OPTIONS_DIALOG_HH
38 #include <wx/notebook.h>
39 #include <wx/listctrl.h>
40 #include <wx/spinctrl.h>
70 void addPage(wxPanel* page,
const wxString& title);
81 wxWindow* parent,
bool callFit,
bool set_sizer);
97 void onOK(wxCommandEvent& event);
98 void onHelp(wxCommandEvent& event);
104 wxWindow* parent,
bool callFit,
bool set_sizer);
106 wxWindow* parent,
bool callFit,
bool set_sizer);
180 DECLARE_EVENT_TABLE()
wxListCtrl * shortcutList_
Keyboard shortcut list control.
virtual void writeOptions()
void onHelp(wxCommandEvent &event)
static const wxString AVAILABLE_COMMANDS_COLUMN_TITLE
Title of the toolbar tab available commands list.
static const wxString SHORTCUT_COLUMN_TITLE
Title of the keyboard shortcut list shortcut column.
virtual bool TransferDataToWindow()
CommandRegistry & commandRegistry_
Command registry containing available commands for shortcuts.
static const wxString DELETE_BUTTON_LABEL
Label for delete-button.
OptionsDialog(wxWindow *parent, GUIOptions &options, CommandRegistry &commandRegisry)
std::vector< std::string > toolbar_
Toolbar buttons and separators.
std::string name
Name of the command.
static const wxString CONTENTS_BOTH
Text for the toolbar contents choicer icon&text mode item.
void onMoveTool(wxCommandEvent &event)
wxSizer * createToolbarPage(wxWindow *parent, bool callFit, bool set_sizer)
wxNotebook * notebook_
Notebook containing dialog pages.
void onCommandSelection(wxListEvent &event)
void addPage(wxPanel *page, const wxString &title)
void onRemoveTool(wxCommandEvent &event)
void onShortcutSelection(wxListEvent &event)
void onToolbarSelection(wxListEvent &event)
void onOK(wxCommandEvent &event)
void onEditShortcut(wxCommandEvent &event)
static const wxString TOOLBAR_BUTTONS_COLUMN_TITLE
Title of the toolbar tab toolbar button list.
void onInsertTool(wxCommandEvent &event)
static MachInfoCmdLineOptions options
static const wxString EDIT_BUTTON_LABEL
Label for Edit-button.
void onActivateShortcut(wxListEvent &event)
@ ID_LABEL_TOOLBAR_CONTENTS
static const wxString CONTENTS_TEXT
Text for the toolbar contents choicer text-mode item.
virtual void readOptions()
void onShortcutRightClick(wxListEvent &event)
static const wxString COMMAND_COLUMN_TITLE
Title of the keyboard shortcut list command name column.
wxListCtrl * toolbarList_
Toolbar buttons list control.
wxSizer * createKBShortcutPage(wxWindow *parent, bool callFit, bool set_sizer)
std::vector< Shortcut * > shortcuts_
Keyboard shortcuts.
wxWindow * parent_
parent window of the dialog
Shortcut * selectedShortcut()
KeyboardShortcut * shortcut
A keyboard shortcut.
virtual wxSizer * createContents(wxWindow *parent, bool callFit, bool set_sizer)
GUIOptions & options_
current editor options
wxListCtrl * commandList_
List control for commands not in the toolbar.
void onDeleteShortcut(wxCommandEvent &event)
static const wxString CONTENTS_ICONS
Text fot the toolbar contents choicer icon-mode item.