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()
static MachInfoCmdLineOptions options
void onShortcutSelection(wxListEvent &event)
static const wxString CONTENTS_BOTH
Text for the toolbar contents choicer icon&text mode item.
wxListCtrl * commandList_
List control for commands not in the toolbar.
Shortcut * selectedShortcut()
void onCommandSelection(wxListEvent &event)
wxSizer * createToolbarPage(wxWindow *parent, bool callFit, bool set_sizer)
void onOK(wxCommandEvent &event)
void onRemoveTool(wxCommandEvent &event)
static const wxString CONTENTS_ICONS
Text fot the toolbar contents choicer icon-mode item.
virtual wxSizer * createContents(wxWindow *parent, bool callFit, bool set_sizer)
GUIOptions & options_
current editor options
void onHelp(wxCommandEvent &event)
virtual void readOptions()
@ ID_LABEL_TOOLBAR_CONTENTS
void onInsertTool(wxCommandEvent &event)
static const wxString CONTENTS_TEXT
Text for the toolbar contents choicer text-mode item.
void onShortcutRightClick(wxListEvent &event)
virtual void writeOptions()
virtual bool TransferDataToWindow()
wxWindow * parent_
parent window of the dialog
wxSizer * createKBShortcutPage(wxWindow *parent, bool callFit, bool set_sizer)
void onDeleteShortcut(wxCommandEvent &event)
std::vector< Shortcut * > shortcuts_
Keyboard shortcuts.
void addPage(wxPanel *page, const wxString &title)
static const wxString EDIT_BUTTON_LABEL
Label for Edit-button.
wxListCtrl * shortcutList_
Keyboard shortcut list control.
static const wxString TOOLBAR_BUTTONS_COLUMN_TITLE
Title of the toolbar tab toolbar button list.
void onMoveTool(wxCommandEvent &event)
std::vector< std::string > toolbar_
Toolbar buttons and separators.
CommandRegistry & commandRegistry_
Command registry containing available commands for shortcuts.
static const wxString AVAILABLE_COMMANDS_COLUMN_TITLE
Title of the toolbar tab available commands list.
void onToolbarSelection(wxListEvent &event)
void onActivateShortcut(wxListEvent &event)
wxNotebook * notebook_
Notebook containing dialog pages.
wxListCtrl * toolbarList_
Toolbar buttons list control.
void onEditShortcut(wxCommandEvent &event)
static const wxString SHORTCUT_COLUMN_TITLE
Title of the keyboard shortcut list shortcut column.
static const wxString COMMAND_COLUMN_TITLE
Title of the keyboard shortcut list command name column.
static const wxString DELETE_BUTTON_LABEL
Label for delete-button.
KeyboardShortcut * shortcut
A keyboard shortcut.
std::string name
Name of the command.