Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | Friends

SnippetPropertyForm Class Reference

#include <snippetpropertyform.h>

Inheritance diagram for SnippetPropertyForm:
Inheritance graph
Collaboration diagram for SnippetPropertyForm:
Collaboration graph

List of all members.

Public Member Functions

void AddButtonId (wxWindowID id)
 Add an id to the list of custom button identifiers that should be in the button sizer.
virtual bool CanDoLayoutAdaptation ()
 Can we do the adaptation?
bool Create (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox"))
virtual bool DoLayoutAdaptation ()
 Do the adaptation.
wxArrayInt & GetButtonIds ()
virtual wxWindow * GetContentWindow () const
 Returns a content window if there is one.
wxDialog * GetDialog () const
bool GetLayoutAdaptationDone () const
int GetLayoutAdaptationLevel () const
 Get level of adaptation.
void Init ()
bool IsUserButtonId (wxWindowID id)
 Is this id in the custom button id array?
void SetDialog (wxDialog *dialog)
void SetLayoutAdaptationDone (bool adaptationDone)
 Returns true if the adaptation has been done.
void SetLayoutAdaptationLevel (int level)
virtual bool Show (bool show=true)
 Override Show to rejig the control and sizer hierarchy if necessary.
virtual int ShowModal ()
 Override ShowModal to rejig the control and sizer hierarchy if necessary.
 SnippetPropertyForm (wxWindow *parent, int id=-1, wxString title=wxT("Properties"), wxPoint pos=wxDefaultPosition, wxSize size=wxSize(527, 212), int style=wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER)

Static Public Member Functions

static bool GetLayoutAdaptation ()
 Global switch for layout adaptation.
static wxDialogLayoutAdapterGetLayoutAdapter ()
static void SetLayoutAdaptation (bool enable)
static wxDialogLayoutAdapterSetLayoutAdapter (wxDialogLayoutAdapter *adapter)
 Set layout adapter class, returning old adapter.

Protected Attributes

wxArrayInt m_buttonIds
wxDialog * m_dialog
wxButton * m_FileSelectButton
wxStaticText * m_ItemLabelStaticText
wxTextCtrl * m_ItemLabelTextCtrl
int m_layoutAdaptationLevel
bool m_layoutLayoutAdaptationDone
wxStdDialogButtonSizer * m_sdbSizer1
wxButton * m_SnippetButton
wxStaticText * m_SnippetStaticText

Static Protected Attributes

static bool sm_layoutAdaptation = true
static wxDialogLayoutAdaptersm_layoutAdapter = NULL


class CodeSnippetsTreeCtrl

Detailed Description

Class SnippetPropertyForm

Definition at line 58 of file snippetpropertyform.h.

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

Generated by  Doxygen 1.6.0   Back to index