NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
CEditObjectDlg Class Reference

Search Toolkit Book for CEditObjectDlg

#include <gui/widgets/edit/edit_object_dlg.hpp>

List of all members.

Public Types

enum  { ID_CEDITFEATUREDLG = 10000 }
 Control identifiers. More...

Public Member Functions

 CEditObjectDlg ()
 Constructors.
 CEditObjectDlg (wxWindow *parent, wxWindowID id=ID_CEDITFEATUREDLG, const wxString &caption=_("Edit Object"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
bool Create (wxWindow *parent, wxWindowID id=ID_CEDITFEATUREDLG, const wxString &caption=_("Edit Object"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation.
 ~CEditObjectDlg ()
 Destructor.
void Init ()
 Initialises member variables.
void CreateControls ()
 Creates the controls and sizers.
void SetEditorWindow (wxWindow *editorWindow)
void OnCloseWindow (wxCloseEvent &event)
 wxEVT_CLOSE_WINDOW event handler for ID_CEDITFEATUREDLG
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources.
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources.

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips?

Public Attributes

wxBoxSizer * m_EditWindowSizer

Detailed Description

CEditObjectDlg class declaration

Definition at line 72 of file edit_object_dlg.hpp.


Member Enumeration Documentation

anonymous enum

Control identifiers.

Enumerator:
ID_CEDITFEATUREDLG 

Definition at line 120 of file edit_object_dlg.hpp.


Constructor & Destructor Documentation

Constructors.

CEditObjectDlg type definition

CEditObjectDlg event table definition

CEditObjectDlg constructors

Definition at line 70 of file edit_object_dlg.cpp.

CEditObjectDlg::CEditObjectDlg ( wxWindow *  parent,
wxWindowID  id = ID_CEDITFEATUREDLG,
const wxString &  caption = _("Edit Object"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Definition at line 75 of file edit_object_dlg.cpp.

References Create(), and Init().

Destructor.

CEditObjectDlg destructor

Definition at line 100 of file edit_object_dlg.cpp.


Member Function Documentation

bool CEditObjectDlg::Create ( wxWindow *  parent,
wxWindowID  id = ID_CEDITFEATUREDLG,
const wxString &  caption = _("Edit Object"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Creation.

CEditObjectDlg creator

Definition at line 86 of file edit_object_dlg.cpp.

References CreateControls().

Referenced by CEditObjectDlg().

Creates the controls and sizers.

Control creation for CEditObjectDlg

Definition at line 122 of file edit_object_dlg.cpp.

References m_EditWindowSizer.

Referenced by Create().

wxBitmap CEditObjectDlg::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 176 of file edit_object_dlg.cpp.

wxIcon CEditObjectDlg::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 189 of file edit_object_dlg.cpp.

void CEditObjectDlg::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 111 of file edit_object_dlg.cpp.

References m_EditWindowSizer.

Referenced by CEditObjectDlg().

void CEditObjectDlg::OnCloseWindow ( wxCloseEvent &  event)

wxEVT_CLOSE_WINDOW event handler for ID_CEDITFEATUREDLG

void CEditObjectDlg::SetEditorWindow ( wxWindow *  editorWindow)

Should we show tooltips?

Definition at line 167 of file edit_object_dlg.cpp.


Member Data Documentation

Definition at line 118 of file edit_object_dlg.hpp.

Referenced by CreateControls(), Init(), and SetEditorWindow().


The documentation for this class was generated from the following files:
Modified on Tue Jul 22 17:50:39 2014 by modify_doxy.py rev. 426318