OpenCPN Partial API docs
|
#include <scrollingdialog.h>
Public Member Functions | |
wxDialogHelper (wxDialog *dialog=NULL) | |
void | Init () |
void | SetDialog (wxDialog *dialog) |
wxDialog * | GetDialog () const |
virtual bool | DoLayoutAdaptation () |
Do the adaptation. More... | |
virtual bool | CanDoLayoutAdaptation () |
Can we do the adaptation? More... | |
virtual wxWindow * | GetContentWindow () const |
Returns a content window if there is one. More... | |
void | AddButtonId (wxWindowID id) |
Add an id to the list of custom button identifiers that should be in the button sizer. More... | |
std::vector< int > & | GetButtonIds () |
bool | IsUserButtonId (wxWindowID id) |
Is this id in the custom button id array? More... | |
void | SetLayoutAdaptationLevel (int level) |
Level of adaptation, from none (Level 0) to full (Level 3). More... | |
int | GetLayoutAdaptationLevel () const |
Get level of adaptation. More... | |
void | SetLayoutAdaptationDone (bool adaptationDone) |
Returns true if the adaptation has been done. More... | |
bool | GetLayoutAdaptationDone () const |
Static Public Member Functions | |
static wxDialogLayoutAdapter * | SetLayoutAdapter (wxDialogLayoutAdapter *adapter) |
Set layout adapter class, returning old adapter. More... | |
static wxDialogLayoutAdapter * | GetLayoutAdapter () |
static bool | GetLayoutAdaptation () |
Global switch for layout adaptation. More... | |
static void | SetLayoutAdaptation (bool enable) |
Protected Attributes | |
wxDialog * | m_dialog |
bool | m_layoutLayoutAdaptationDone |
std::vector< int > | m_buttonIds |
int | m_layoutAdaptationLevel |
Static Protected Attributes | |
static wxDialogLayoutAdapter * | sm_layoutAdapter = NULL |
static bool | sm_layoutAdaptation = true |
A base class for dialogs that have adaptation. In wxWidgets 3.0, this will not be needed since the new functionality will be implemented in wxDialogBase.
Definition at line 101 of file scrollingdialog.h.
|
inline |
Definition at line 103 of file scrollingdialog.h.
|
inlinevirtual |
Definition at line 107 of file scrollingdialog.h.
|
inline |
Add an id to the list of custom button identifiers that should be in the button sizer.
Definition at line 125 of file scrollingdialog.h.
|
virtual |
Can we do the adaptation?
Definition at line 49 of file scrollingdialog.cpp.
|
virtual |
Do the adaptation.
Definition at line 41 of file scrollingdialog.cpp.
|
inline |
Definition at line 126 of file scrollingdialog.h.
|
inlinevirtual |
Returns a content window if there is one.
Reimplemented in wxScrollingPropertySheetDialog.
Definition at line 121 of file scrollingdialog.h.
|
inline |
Definition at line 112 of file scrollingdialog.h.
|
inlinestatic |
Global switch for layout adaptation.
Definition at line 156 of file scrollingdialog.h.
|
inline |
Definition at line 148 of file scrollingdialog.h.
|
inline |
Get level of adaptation.
Definition at line 142 of file scrollingdialog.h.
|
inlinestatic |
Definition at line 153 of file scrollingdialog.h.
void wxDialogHelper::Init | ( | ) |
Definition at line 35 of file scrollingdialog.cpp.
|
inline |
Is this id in the custom button id array?
Definition at line 129 of file scrollingdialog.h.
|
inline |
Definition at line 111 of file scrollingdialog.h.
|
inlinestatic |
Definition at line 157 of file scrollingdialog.h.
|
inline |
Returns true if the adaptation has been done.
Definition at line 145 of file scrollingdialog.h.
|
inline |
Level of adaptation, from none (Level 0) to full (Level 3).
To disable adaptation, set level 0, for example in your dialog constructor. You might do this if you know that you are displaying on a large screen and you don't want the dialog changed.
Definition at line 139 of file scrollingdialog.h.
|
static |
Set layout adapter class, returning old adapter.
Set scrolling adapter class, returning old adapter.
Definition at line 56 of file scrollingdialog.cpp.
|
protected |
Definition at line 162 of file scrollingdialog.h.
|
protected |
Definition at line 160 of file scrollingdialog.h.
|
protected |
Definition at line 163 of file scrollingdialog.h.
|
protected |
Definition at line 161 of file scrollingdialog.h.
|
staticprotected |
Definition at line 165 of file scrollingdialog.h.
|
staticprotected |
Dialog helper. This contains the extra members that in wxWidgets 3.0 will be in wxDialogBase.
Definition at line 164 of file scrollingdialog.h.