#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Notebook.hpp>
Public Member Functions | |
| Notebook (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, wxBoxSizer *side_tools=NULL, long style=0) | |
| bool | Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, wxBoxSizer *side_tools=NULL, long style=0) |
| bool | ShowNewPage (wxWindow *page) |
| void | SetEffects (wxShowEffect showEffect, wxShowEffect hideEffect) |
| void | SetEffect (wxShowEffect effect) |
| void | SetEffectsTimeouts (unsigned showTimeout, unsigned hideTimeout) |
| void | SetEffectTimeout (unsigned timeout) |
| bool | AddPage (const wxString &id, wxWindow *page, const wxString &text, const std::string &bmp_name="", bool bSelect=false) |
| bool | AddPage (wxWindow *page, const wxString &text, bool bSelect=false, int imageId=NO_IMAGE) override |
| bool | InsertPage (size_t n, const wxString &id, wxWindow *page, const wxString &text, const std::string &bmp_name="", bool bSelect=false, const wxBitmap &bmp=wxNullBitmap) |
| virtual bool | InsertPage (size_t n, wxWindow *page, const wxString &text, bool bSelect=false, int WXUNUSED(imageId)=NO_IMAGE) override |
| virtual int | SetSelection (size_t n) override |
| virtual int | ChangeSelection (size_t n) override |
| virtual bool | SetPageText (size_t n, const wxString &strText) override |
| virtual wxString | GetPageText (size_t n) const override |
| wxString | GetPageLabel (size_t n) const |
| std::string | GetPageIcon (size_t n) const |
| virtual bool | SetPageImage (size_t WXUNUSED(n), int WXUNUSED(imageId)) override |
| virtual int | GetPageImage (size_t WXUNUSED(n)) const override |
| bool | SetPageImage (size_t n, const std::string &bmp_name) |
| virtual void | SetFocus () override |
| virtual bool | DeleteAllPages () override |
| ButtonsListCtrl * | GetBtnsListCtrl () const |
| void | SetOverflowButton (wxWindow *button) |
| size_t | PositionAfter (std::initializer_list< const char * > ids) const |
| int | FindPageByName (const wxString &id) const |
| wxWindow * | GetPageByName (const wxString &id) const |
| bool | SelectPageByName (const wxString &id) |
| wxString | GetPageName (size_t n) const |
| wxString | GetSelectedPageName () const |
| void | UpdateMode () |
| void | Rescale () |
| void | OnNavigationKey (wxNavigationKeyEvent &event) |
Protected Member Functions | |
| virtual void | UpdateSelectedPage (size_t WXUNUSED(newsel)) override |
| virtual wxBookCtrlEvent * | CreatePageChangingEvent () const override |
| virtual void | MakeChangedEvent (wxBookCtrlEvent &event) override |
| virtual wxWindow * | DoRemovePage (size_t page) override |
| virtual void | DoSize () override |
| virtual void | DoShowPage (wxWindow *page, bool show) override |
Private Member Functions | |
| void | Init () |
Private Attributes | |
| std::vector< wxString > | m_pageNames |
| wxShowEffect | m_showEffect |
| wxShowEffect | m_hideEffect |
| unsigned | m_showTimeout |
| unsigned | m_hideTimeout |
|
inline |
References Create(), Init(), and style.
|
inline |
References InsertPage().
Referenced by ShowNewPage().
|
inlineoverride |
References InsertPage().
|
inlineoverridevirtual |
References GetBtnsListCtrl(), and ButtonsListCtrl::SetSelection().
|
inline |
References OnNavigationKey(), SetSelection(), and style.
Referenced by Notebook().
|
inlineoverrideprotectedvirtual |
|
inlineoverridevirtual |
References m_pageNames.
|
inlineoverrideprotectedvirtual |
References GetBtnsListCtrl(), m_pageNames, and ButtonsListCtrl::RemovePage().
|
inlineoverrideprotectedvirtual |
References m_hideEffect, m_hideTimeout, m_showEffect, and m_showTimeout.
|
inlineoverrideprotectedvirtual |
|
inline |
References m_pageNames.
Referenced by GetPageByName(), PositionAfter(), and SelectPageByName().
|
inline |
Referenced by ChangeSelection(), DoRemovePage(), GetPageIcon(), GetPageLabel(), GetPageText(), InsertPage(), Rescale(), SetOverflowButton(), SetPageImage(), SetPageText(), SetSelection(), and UpdateMode().
|
inline |
References FindPageByName().
|
inline |
References GetBtnsListCtrl(), and ButtonsListCtrl::GetPageIcon().
Referenced by Slic3r::GUI::ActionRegistry::tab_options().
|
inlineoverridevirtual |
|
inline |
References GetBtnsListCtrl(), and ButtonsListCtrl::GetPageLabel().
Referenced by Slic3r::GUI::ActionRegistry::tab_options().
|
inline |
References m_pageNames.
Referenced by Slic3r::GUI::ActionRegistry::tab_options().
|
inlineoverridevirtual |
References GetBtnsListCtrl(), and ButtonsListCtrl::GetPageText().
|
inline |
|
private |
References m_hideEffect, m_hideTimeout, m_pageNames, m_showEffect, and m_showTimeout.
Referenced by Notebook().
|
inline |
References GetBtnsListCtrl(), ButtonsListCtrl::InsertPage(), and m_pageNames.
Referenced by AddPage(), AddPage(), and InsertPage().
|
inlineoverridevirtual |
|
inlineoverrideprotectedvirtual |
|
inline |
References SetFocus().
Referenced by Create().
|
inline |
References FindPageByName().
|
inline |
References GetBtnsListCtrl(), and ButtonsListCtrl::Rescale().
|
inline |
References FindPageByName(), and SetSelection().
|
inline |
References SetEffects().
|
inline |
References m_hideEffect, and m_showEffect.
Referenced by SetEffect().
|
inline |
References m_hideTimeout, and m_showTimeout.
Referenced by SetEffectTimeout().
|
inline |
References SetEffectsTimeouts().
|
inlineoverridevirtual |
Referenced by OnNavigationKey().
|
inline |
References GetBtnsListCtrl(), and ButtonsListCtrl::SetOverflowButton().
|
inline |
References GetBtnsListCtrl(), and ButtonsListCtrl::SetPageImage().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
References GetBtnsListCtrl(), and ButtonsListCtrl::SetPageText().
|
inlineoverridevirtual |
References GetBtnsListCtrl(), and ButtonsListCtrl::SetSelection().
Referenced by Create(), and SelectPageByName().
|
inline |
References AddPage().
|
inline |
References GetBtnsListCtrl(), and ButtonsListCtrl::UpdateMode().
|
inlineoverrideprotectedvirtual |
|
private |
Referenced by DoShowPage(), Init(), and SetEffects().
|
private |
Referenced by DoShowPage(), Init(), and SetEffectsTimeouts().
|
private |
Referenced by DeleteAllPages(), DoRemovePage(), FindPageByName(), GetPageName(), Init(), and InsertPage().
|
private |
Referenced by DoShowPage(), Init(), and SetEffects().
|
private |
Referenced by DoShowPage(), Init(), and SetEffectsTimeouts().