|
| enum | Orientation { orLeft
, orTop
} |
| |
| enum | Theme { themeDefault
, themeLight
} |
| |
| enum | Alignment { alignRight
, alignLeft
} |
| |
|
using | Pages = std::vector< Page * > |
| | All pages.
|
| |
| | Notebook (wxWindow *parent, Orientation orientation=orLeft) |
| | Default constructor. More...
|
| |
|
virtual | ~Notebook () |
| | Destructor.
|
| |
|
Orientation | orientation () const |
| | Get the orientation of the notebook.
|
| |
|
void | clear () |
| | Delete all pages.
|
| |
|
Page * | add (wxWindow *ctnrl, const wxString &caption) |
| | Add a new page.
|
| |
|
Page * | add (wxWindow *ctnrl, const wxString &name, const wxString &caption) |
| | Add a new page.
|
| |
|
void | addSeparator () |
| | Add a separator.
|
| |
|
bool | tabsVisible () const |
| | Get if the tabs are visible.
|
| |
|
void | tabsVisible (bool v) |
| | Set if the tabs are visible.
|
| |
|
bool | alwaysDisplayTabs () const |
| | Get if the tabs must always be displayed, even if a single one is available.
|
| |
|
void | alwaysDisplayTabs (const bool v) |
| | Set if the tabs must always be displayed.
|
| |
|
bool | displayTitle () const |
| |
|
void | displayTitle (const bool v) |
| |
|
void | addCommonControl (Toolbox::InputSelector::AInput *input, const int border=0) |
| |
|
void | addCommonControl (wxWindow *ctrnl, const int border=0, const wxPoint &recommendedSize=wxPoint(20, 20)) |
| |
|
void | addCommonControlTop (Toolbox::InputSelector::AInput *input, const int border=0) |
| |
|
void | addCommonControlTop (wxWindow *ctrnl, const int border=0, const wxPoint &recommendedSize=wxPoint(20, 20)) |
| |
|
const wxString & | caption () const |
| | Get the caption of the notebook.
|
| |
|
void | caption (const wxString &s) |
| | Set the caption.
|
| |
|
bool | select (const wxString &name, bool triggerEvents=true) |
| | Select a page by its name.
|
| |
|
Page * | selected () |
| |
|
const Page * | selected () const |
| |
|
Page * | find (const wxString &name) |
| | Find a page by its name.
|
| |
|
void | set_page_visibility (const wxString &name, bool visible) |
| |
|
void | theme (Theme t) |
| | Set the current theme.
|
| |
|
Theme | theme () const |
| |
|
void | alignment (Alignment a) |
| |
|
wxWindow * | titlePanelControl () const |
| | Get the controls of the main bar.
|
| |
|
void | enableRefreshForAllDatagrid (bool enabled) |
| | Enable / Disable the refresh for all datagrid.
|
| |
|
virtual bool | HasMultiplePages () const |
| |
|
void | forceRefresh () |
| |
|
| Panel (wxWindow *parent) |
| | Constructor.
|
| |
|
virtual | ~Panel () |
| | Destructor.
|
| |
|
virtual void | onMouseDown (wxMouseEvent &) |
| | Click down.
|
| |
|
virtual void | onMouseUp (wxMouseEvent &) |
| | Click up.
|
| |
|
virtual void | onMouseClick () |
| | The panel has been clicked (delayed)
|
| |
|
virtual void | onMouseEnter () |
| | The mouse has entered.
|
| |
|
virtual void | onMouseLeave () |
| | The mouse has leaved.
|
| |
|
virtual void | onMouseMoved (int, int) |
| | The mouse has moved.
|
| |
|
static void | OnMouseMoveFromExternalComponent () |
| | Event triggered by any other component (not derived from Panel)
|
| |
| Yuni::Event< void(Page &, bool &)> | onPageAccept |
| | Event: Page changing. More...
|
| |
| Yuni::Event< void(Page &)> | onPageChanged |
| | Event: Page changing. More...
|
| |
|
const Orientation | pOrientation |
| | Orientation.
|
| |
|
Pages | pPages |
| | All pages.
|
| |
|
Tabs * | pTabs |
| | The tab component.
|
| |
|
wxString | pCaption |
| | The caption of the notebook.
|
| |
|
bool | pTabsVisible |
| | Can display tabs.
|
| |
|
bool | pAlwaysDisplayTab |
| | Always display tabs.
|
| |
|
bool | pDisplayTitle |
| | Display the title.
|
| |
|
wxSizer * | pSizerForPages |
| |
|
wxSizer * | pTopSizer |
| |
|
wxSizer * | pLeftSizer |
| |
|
Page * | pLastSelected |
| |
|
std::vector< wxWindow * > | pExtraControls |
| | The complete list of extra controls.
|
| |
|
Theme | pTheme |
| |
|
Alignment | pAlignment |
| |
|
wxString | pCacheTitle |
| |
|
wxColour | pOriginalColor |
| |
|
wxColour | pOriginalColorDark |
| |
|
virtual bool | triggerMouseClickEvent () const |
| |