ToolMap
Loading...
Searching...
No Matches
Shortcut_Panel_DLG Class Reference
Inheritance diagram for Shortcut_Panel_DLG:

Public Member Functions

 Shortcut_Panel_DLG (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Edit Shortcut"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 
void SetKeyList (const wxArrayString &keys)
 Set values for keys.
 
void SetDataBase (DataBaseTM *database)
 
bool SetTypeList (DataBaseTM *database, int layer_type, int key=0)
 
virtual bool TransferDataFromWindow ()
 Called just before closing the dialog.
 
virtual bool TransferDataToWindow ()
 Called just before displaying the dialog.
 

Public Attributes

wxArrayLong m_CheckedTypes
 
int m_SelectedKey
 
wxString m_Description
 

Member Function Documentation

◆ SetKeyList()

void Shortcut_Panel_DLG::SetKeyList ( const wxArrayString &  keys)

Set values for keys.

This function set the list of keys. If the wxArrayString is empty, the Save button is disabled

Parameters
keysAn array of string containing the new choices values
Author
Lucien Schreiber (c) CREALP 2008
Date
12 December 2008

◆ TransferDataFromWindow()

bool Shortcut_Panel_DLG::TransferDataFromWindow ( )
virtual

Called just before closing the dialog.

Using for data tranfert

Author
Lucien Schreiber (c) CREALP 2008
Date
15 December 2008

◆ TransferDataToWindow()

bool Shortcut_Panel_DLG::TransferDataToWindow ( )
virtual

Called just before displaying the dialog.

Using for data tranfert. Lot of data transfert was allready done in ShortcutList::BeforeAdding() and in ShortcutList::BeforeEditing ()

Author
Lucien Schreiber (c) CREALP 2008
Date
15 December 2008

The documentation for this class was generated from the following files: