OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Notebook Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Notebook.hpp>

Inheritance diagram for Notebook:
Collaboration diagram for Notebook:

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

Detailed Description

Constructor & Destructor Documentation

◆ Notebook()

Notebook::Notebook ( wxWindow * parent,
wxWindowID winid = wxID_ANY,
const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxDefaultSize,
wxBoxSizer * side_tools = NULL,
long style = 0 )
inline
85 {
86 Init();
87 Create(parent, winid, pos, size, side_tools, style);
88 }
#define style
Definition WipeTowerDialog.cpp:101
bool Create(wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, wxBoxSizer *side_tools=NULL, long style=0)
Definition Notebook.hpp:90
void Init()
Definition Notebook.cpp:305

References Create(), Init(), and style.

Here is the call graph for this function:

Member Function Documentation

◆ AddPage() [1/2]

bool Notebook::AddPage ( const wxString & id,
wxWindow * page,
const wxString & text,
const std::string & bmp_name = "",
bool bSelect = false )
inline
176 {
177 DoInvalidateBestSize();
178 return InsertPage(GetPageCount(), id, page, text, bmp_name, bSelect);
179 }
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)
Definition Notebook.hpp:187

References InsertPage().

Referenced by ShowNewPage().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddPage() [2/2]

bool Notebook::AddPage ( wxWindow * page,
const wxString & text,
bool bSelect = false,
int imageId = NO_IMAGE )
inlineoverride
182 {
183 DoInvalidateBestSize();
184 return InsertPage(GetPageCount(), page, text, bSelect, imageId);
185 }

References InsertPage().

Here is the call graph for this function:

◆ ChangeSelection()

virtual int Notebook::ChangeSelection ( size_t n)
inlineoverridevirtual
244 {
246 return DoSetSelection(n);
247 }
void SetSelection(int sel)
Definition Notebook.cpp:131
ButtonsListCtrl * GetBtnsListCtrl() const
Definition Notebook.hpp:311

References GetBtnsListCtrl(), and ButtonsListCtrl::SetSelection().

Here is the call graph for this function:

◆ Create()

bool Notebook::Create ( wxWindow * parent,
wxWindowID winid = wxID_ANY,
const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxDefaultSize,
wxBoxSizer * side_tools = NULL,
long style = 0 )
inline
97 {
98 if (!wxBookCtrlBase::Create(parent, winid, pos, size, style | wxBK_TOP))
99 return false;
100
101 m_bookctrl = new ButtonsListCtrl(this, side_tools);
102
103 wxSizer* mainSizer = new wxBoxSizer(IsVertical() ? wxVERTICAL : wxHORIZONTAL);
104
105 if (style & wxBK_RIGHT || style & wxBK_BOTTOM)
106 mainSizer->Add(0, 0, 1, wxEXPAND, 0);
107
108 m_controlSizer = new wxBoxSizer(IsVertical() ? wxHORIZONTAL : wxVERTICAL);
109 m_controlSizer->Add(m_bookctrl, wxSizerFlags(1).Expand());
110 wxSizerFlags flags;
111 if (IsVertical())
112 flags.Expand();
113 else
114 flags.CentreVertical();
115 mainSizer->Add(m_controlSizer, flags.Border(wxALL, m_controlMargin));
116 SetSizer(mainSizer);
117
118 this->Bind(wxCUSTOMEVT_NOTEBOOK_SEL_CHANGED, [this](wxCommandEvent& evt)
119 {
120 if (int page_idx = evt.GetId(); page_idx >= 0)
121 SetSelection(page_idx);
122 });
123
124 this->Bind(wxEVT_NAVIGATION_KEY, &Notebook::OnNavigationKey, this);
125
126 return true;
127 }
void OnNavigationKey(wxNavigationKeyEvent &event)
Definition Notebook.hpp:372
virtual int SetSelection(size_t n) override
Definition Notebook.hpp:220

References OnNavigationKey(), SetSelection(), and style.

Referenced by Notebook().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreatePageChangingEvent()

virtual wxBookCtrlEvent * Notebook::CreatePageChangingEvent ( ) const
inlineoverrideprotectedvirtual
463 {
464 return new wxBookCtrlEvent(wxEVT_BOOKCTRL_PAGE_CHANGING,
465 GetId());
466 }

◆ DeleteAllPages()

virtual bool Notebook::DeleteAllPages ( )
inlineoverridevirtual
306 {
307 m_pageNames.clear();
308 return wxBookCtrlBase::DeleteAllPages();
309 }
std::vector< wxString > m_pageNames
Definition Notebook.hpp:504

References m_pageNames.

◆ DoRemovePage()

virtual wxWindow * Notebook::DoRemovePage ( size_t page)
inlineoverrideprotectedvirtual
474 {
475 wxWindow* const win = wxBookCtrlBase::DoRemovePage(page);
476 if (win)
477 {
478 m_pageNames.erase(m_pageNames.begin() + page);
480 DoSetSelectionAfterRemoval(page);
481 }
482
483 return win;
484 }
void RemovePage(size_t n)
Definition Notebook.cpp:220

References GetBtnsListCtrl(), m_pageNames, and ButtonsListCtrl::RemovePage().

Here is the call graph for this function:

◆ DoShowPage()

virtual void Notebook::DoShowPage ( wxWindow * page,
bool show )
inlineoverrideprotectedvirtual
494 {
495 if (show)
496 page->ShowWithEffect(m_showEffect, m_showTimeout);
497 else
498 page->HideWithEffect(m_hideEffect, m_hideTimeout);
499 }
unsigned m_hideTimeout
Definition Notebook.hpp:510
unsigned m_showTimeout
Definition Notebook.hpp:509
wxShowEffect m_hideEffect
Definition Notebook.hpp:507
wxShowEffect m_showEffect
Definition Notebook.hpp:506

References m_hideEffect, m_hideTimeout, m_showEffect, and m_showTimeout.

◆ DoSize()

virtual void Notebook::DoSize ( )
inlineoverrideprotectedvirtual
487 {
488 wxWindow* const page = GetCurrentPage();
489 if (page)
490 page->SetSize(GetPageRect());
491 }

◆ FindPageByName()

int Notebook::FindPageByName ( const wxString & id) const
inline
325 {
326 if (id.empty())
327 return wxNOT_FOUND;
328 for (size_t i = 0; i < m_pageNames.size(); ++i)
329 if (m_pageNames[i] == id)
330 return static_cast<int>(i);
331 return wxNOT_FOUND;
332 }
bool empty(const BoundingBoxBase< PointType, PointsType > &bb)
Definition BoundingBox.hpp:273

References m_pageNames.

Referenced by GetPageByName(), PositionAfter(), and SelectPageByName().

Here is the caller graph for this function:

◆ GetBtnsListCtrl()

ButtonsListCtrl * Notebook::GetBtnsListCtrl ( ) const
inline
311{ return static_cast<ButtonsListCtrl*>(m_bookctrl); }

Referenced by ChangeSelection(), DoRemovePage(), GetPageIcon(), GetPageLabel(), GetPageText(), InsertPage(), Rescale(), SetOverflowButton(), SetPageImage(), SetPageText(), SetSelection(), and UpdateMode().

Here is the caller graph for this function:

◆ GetPageByName()

wxWindow * Notebook::GetPageByName ( const wxString & id) const
inline
335 {
336 const int idx = FindPageByName(id);
337 return idx == wxNOT_FOUND ? nullptr : GetPage(static_cast<size_t>(idx));
338 }
int FindPageByName(const wxString &id) const
Definition Notebook.hpp:324

References FindPageByName().

Here is the call graph for this function:

◆ GetPageIcon()

std::string Notebook::GetPageIcon ( size_t n) const
inline
275 {
276 wxCHECK_MSG(n < GetPageCount(), std::string(), wxS("Invalid page"));
277 return GetBtnsListCtrl()->GetPageIcon(n);
278 }
const std::string & GetPageIcon(size_t n) const
Definition Notebook.hpp:51

References GetBtnsListCtrl(), and ButtonsListCtrl::GetPageIcon().

Referenced by Slic3r::GUI::ActionRegistry::tab_options().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPageImage()

virtual int Notebook::GetPageImage ( size_t WXUNUSEDn) const
inlineoverridevirtual
286 {
287 return NO_IMAGE;
288 }

◆ GetPageLabel()

wxString Notebook::GetPageLabel ( size_t n) const
inline
268 {
269 wxCHECK_MSG(n < GetPageCount(), wxString(), wxS("Invalid page"));
270 return GetBtnsListCtrl()->GetPageLabel(n);
271 }
wxString GetPageLabel(size_t n) const
Definition Notebook.cpp:280

References GetBtnsListCtrl(), and ButtonsListCtrl::GetPageLabel().

Referenced by Slic3r::GUI::ActionRegistry::tab_options().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPageName()

wxString Notebook::GetPageName ( size_t n) const
inline
352 {
353 return n < m_pageNames.size() ? m_pageNames[n] : wxString();
354 }

References m_pageNames.

Referenced by Slic3r::GUI::ActionRegistry::tab_options().

Here is the caller graph for this function:

◆ GetPageText()

virtual wxString Notebook::GetPageText ( size_t n) const
inlineoverridevirtual
261 {
262 wxCHECK_MSG(n < GetPageCount(), wxString(), wxS("Invalid page"));
263 return GetBtnsListCtrl()->GetPageText(n);
264 }
wxString GetPageText(size_t n) const
Definition Notebook.cpp:273

References GetBtnsListCtrl(), and ButtonsListCtrl::GetPageText().

Here is the call graph for this function:

◆ GetSelectedPageName()

wxString Notebook::GetSelectedPageName ( ) const
inline
357 {
358 const int sel = GetSelection();
359 return sel < 0 ? wxString() : GetPageName(static_cast<size_t>(sel));
360 }

◆ Init()

void Notebook::Init ( )
private
306{
307 // We don't need any border as we don't have anything to separate the
308 // page contents from.
309 SetInternalBorder(0);
310
311 // No effects by default.
312 m_showEffect = m_hideEffect = wxSHOW_EFFECT_NONE;
313
315
316 m_pageNames.clear();
317
318 /* On Linux, Gstreamer wxMediaCtrl does not seem to get along well with
319 * 32-bit X11 visuals (the overlay does not work). Is this a wxWindows
320 * bug? Is this a Gstreamer bug? No idea, but it is our problem ...
321 * and anyway, this transparency thing just isn't all that interesting,
322 * so we just don't do it on Linux.
323 */
324#ifndef __WXGTK__
325 SetBackgroundStyle(wxBG_STYLE_TRANSPARENT);
326#endif
327}

References m_hideEffect, m_hideTimeout, m_pageNames, m_showEffect, and m_showTimeout.

Referenced by Notebook().

Here is the caller graph for this function:

◆ InsertPage() [1/2]

bool Notebook::InsertPage ( size_t n,
const wxString & id,
wxWindow * page,
const wxString & text,
const std::string & bmp_name = "",
bool bSelect = false,
const wxBitmap & bmp = wxNullBitmap )
inline
194 {
195 if (!wxBookCtrlBase::InsertPage(n, page, text, bSelect))
196 return false;
197
198 m_pageNames.insert(m_pageNames.begin() + n, id);
199 GetBtnsListCtrl()->InsertPage(n, text, bSelect, bmp_name, bmp);
200
201 // wxBookCtrlBase::InsertPage() only inserts into the page list and sizes the new
202 // page to the current page's rect — it never touches visibility, and a freshly
203 // constructed page defaults to shown. Without this it renders on top of whatever
204 // page is currently selected until the next SetSelection() call hides it.
205 if (!DoSetSelectionAfterInsertion(n, bSelect))
206 page->Hide();
207
208 return true;
209 }
bool InsertPage(size_t n, const wxString &text, bool bSelect=false, const std::string &bmp_name="", const wxBitmap &bmp=wxNullBitmap)
Definition Notebook.cpp:169

References GetBtnsListCtrl(), ButtonsListCtrl::InsertPage(), and m_pageNames.

Referenced by AddPage(), AddPage(), and InsertPage().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InsertPage() [2/2]

virtual bool Notebook::InsertPage ( size_t n,
wxWindow * page,
const wxString & text,
bool bSelect = false,
int WXUNUSEDimageId = NO_IMAGE )
inlineoverridevirtual
216 {
217 return InsertPage(n, wxString(), page, text, "", bSelect);
218 }

References InsertPage().

Here is the call graph for this function:

◆ MakeChangedEvent()

virtual void Notebook::MakeChangedEvent ( wxBookCtrlEvent & event)
inlineoverrideprotectedvirtual
469 {
470 event.SetEventType(wxEVT_BOOKCTRL_PAGE_CHANGED);
471 }

◆ OnNavigationKey()

void Notebook::OnNavigationKey ( wxNavigationKeyEvent & event)
inline
373 {
374 if (event.IsWindowChange()) {
375 // change pages
376 AdvanceSelection(event.GetDirection());
377 }
378 else {
379 // we get this event in 3 cases
380 //
381 // a) one of our pages might have generated it because the user TABbed
382 // out from it in which case we should propagate the event upwards and
383 // our parent will take care of setting the focus to prev/next sibling
384 //
385 // or
386 //
387 // b) the parent panel wants to give the focus to us so that we
388 // forward it to our selected page. We can't deal with this in
389 // OnSetFocus() because we don't know which direction the focus came
390 // from in this case and so can't choose between setting the focus to
391 // first or last panel child
392 //
393 // or
394 //
395 // c) we ourselves (see MSWTranslateMessage) generated the event
396 //
397 wxWindow* const parent = GetParent();
398
399 // the wxObject* casts are required to avoid MinGW GCC 2.95.3 ICE
400 const bool isFromParent = event.GetEventObject() == (wxObject*)parent;
401 const bool isFromSelf = event.GetEventObject() == (wxObject*)this;
402 const bool isForward = event.GetDirection();
403
404 if (isFromSelf && !isForward)
405 {
406 // focus is currently on notebook tab and should leave
407 // it backwards (Shift-TAB)
408 event.SetCurrentFocus(this);
409 parent->HandleWindowEvent(event);
410 }
411 else if (isFromParent || isFromSelf)
412 {
413 // no, it doesn't come from child, case (b) or (c): forward to a
414 // page but only if entering notebook page (i.e. direction is
415 // backwards (Shift-TAB) comething from out-of-notebook, or
416 // direction is forward (TAB) from ourselves),
417 if (m_selection != wxNOT_FOUND &&
418 (!event.GetDirection() || isFromSelf))
419 {
420 // so that the page knows that the event comes from it's parent
421 // and is being propagated downwards
422 event.SetEventObject(this);
423
424 wxWindow* page = m_pages[m_selection];
425 if (!page->HandleWindowEvent(event))
426 {
427 page->SetFocus();
428 }
429 //else: page manages focus inside it itself
430 }
431 else // otherwise set the focus to the notebook itself
432 {
433 SetFocus();
434 }
435 }
436 else
437 {
438 // it comes from our child, case (a), pass to the parent, but only
439 // if the direction is forwards. Otherwise set the focus to the
440 // notebook itself. The notebook is always the 'first' control of a
441 // page.
442 if (!isForward)
443 {
444 SetFocus();
445 }
446 else if (parent)
447 {
448 event.SetCurrentFocus(this);
449 parent->HandleWindowEvent(event);
450 }
451 }
452 }
453 }
virtual void SetFocus() override
Definition Notebook.hpp:296

References SetFocus().

Referenced by Create().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PositionAfter()

size_t Notebook::PositionAfter ( std::initializer_list< const char * > ids) const
inline
317 {
318 for (const char* id : ids)
319 if (const int idx = FindPageByName(id); idx != wxNOT_FOUND)
320 return static_cast<size_t>(idx) + 1;
321 return GetPageCount();
322 }

References FindPageByName().

Here is the call graph for this function:

◆ Rescale()

void Notebook::Rescale ( )
inline
368 {
370 }
void Rescale()
Definition Notebook.cpp:112

References GetBtnsListCtrl(), and ButtonsListCtrl::Rescale().

Here is the call graph for this function:

◆ SelectPageByName()

bool Notebook::SelectPageByName ( const wxString & id)
inline
341 {
342 const int idx = FindPageByName(id);
343 if (idx == wxNOT_FOUND)
344 return false;
345 SetSelection(static_cast<size_t>(idx));
346 return true;
347 }

References FindPageByName(), and SetSelection().

Here is the call graph for this function:

◆ SetEffect()

void Notebook::SetEffect ( wxShowEffect effect)
inline
149 {
150 SetEffects(effect, effect);
151 }
void SetEffects(wxShowEffect showEffect, wxShowEffect hideEffect)
Definition Notebook.hpp:141

References SetEffects().

Here is the call graph for this function:

◆ SetEffects()

void Notebook::SetEffects ( wxShowEffect showEffect,
wxShowEffect hideEffect )
inline
142 {
143 m_showEffect = showEffect;
144 m_hideEffect = hideEffect;
145 }

References m_hideEffect, and m_showEffect.

Referenced by SetEffect().

Here is the caller graph for this function:

◆ SetEffectsTimeouts()

void Notebook::SetEffectsTimeouts ( unsigned showTimeout,
unsigned hideTimeout )
inline
155 {
156 m_showTimeout = showTimeout;
157 m_hideTimeout = hideTimeout;
158 }

References m_hideTimeout, and m_showTimeout.

Referenced by SetEffectTimeout().

Here is the caller graph for this function:

◆ SetEffectTimeout()

void Notebook::SetEffectTimeout ( unsigned timeout)
inline
161 {
162 SetEffectsTimeouts(timeout, timeout);
163 }
void SetEffectsTimeouts(unsigned showTimeout, unsigned hideTimeout)
Definition Notebook.hpp:154

References SetEffectsTimeouts().

Here is the call graph for this function:

◆ SetFocus()

virtual void Notebook::SetFocus ( )
inlineoverridevirtual
297 {
298 wxWindow* const page = GetCurrentPage();
299 if (page)
300 page->SetFocus();
301 }

Referenced by OnNavigationKey().

Here is the caller graph for this function:

◆ SetOverflowButton()

void Notebook::SetOverflowButton ( wxWindow * button)
inline
void SetOverflowButton(wxWindow *button)
Definition Notebook.cpp:286

References GetBtnsListCtrl(), and ButtonsListCtrl::SetOverflowButton().

Here is the call graph for this function:

◆ SetPageImage() [1/2]

bool Notebook::SetPageImage ( size_t n,
const std::string & bmp_name )
inline
291 {
292 return GetBtnsListCtrl()->SetPageImage(n, bmp_name);
293 }
bool SetPageImage(size_t n, const std::string &bmp_name) const
Definition Notebook.cpp:244

References GetBtnsListCtrl(), and ButtonsListCtrl::SetPageImage().

Here is the call graph for this function:

◆ SetPageImage() [2/2]

virtual bool Notebook::SetPageImage ( size_t WXUNUSEDn,
int WXUNUSEDimageId )
inlineoverridevirtual
281 {
282 return false;
283 }

◆ SetPageText()

virtual bool Notebook::SetPageText ( size_t n,
const wxString & strText )
inlineoverridevirtual
252 {
253 wxCHECK_MSG(n < GetPageCount(), false, wxS("Invalid page"));
254
255 GetBtnsListCtrl()->SetPageText(n, strText);
256
257 return true;
258 }
void SetPageText(size_t n, const wxString &strText)
Definition Notebook.cpp:256

References GetBtnsListCtrl(), and ButtonsListCtrl::SetPageText().

Here is the call graph for this function:

◆ SetSelection()

virtual int Notebook::SetSelection ( size_t n)
inlineoverridevirtual
221 {
222 int ret = DoSetSelection(n, SetSelection_SendEvent);
223 int new_sel = GetSelection();
224 //check the new_sel firstly
225 if (new_sel != n) {
226 //not allowed, skip it
227 return ret;
228 }
230
231 // check that only the selected page is visible and others are hidden:
232 for (size_t page = 0; page < m_pages.size(); page++) {
233 wxWindow* win_a = GetPage(page);
234 wxWindow* win_b = GetPage(n);
235 if (page != n && GetPage(page) != GetPage(n)) {
236 m_pages[page]->Hide();
237 }
238 }
239
240 return ret;
241 }

References GetBtnsListCtrl(), and ButtonsListCtrl::SetSelection().

Referenced by Create(), and SelectPageByName().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShowNewPage()

bool Notebook::ShowNewPage ( wxWindow * page)
inline
135 {
136 return AddPage(page, wxString(), false, NO_IMAGE);
137 }
bool AddPage(const wxString &id, wxWindow *page, const wxString &text, const std::string &bmp_name="", bool bSelect=false)
Definition Notebook.hpp:171

References AddPage().

Here is the call graph for this function:

◆ UpdateMode()

void Notebook::UpdateMode ( )
inline
363 {
365 }
void UpdateMode()
Definition Notebook.cpp:107

References GetBtnsListCtrl(), and ButtonsListCtrl::UpdateMode().

Here is the call graph for this function:

◆ UpdateSelectedPage()

virtual void Notebook::UpdateSelectedPage ( size_t WXUNUSEDnewsel)
inlineoverrideprotectedvirtual
457 {
458 // Nothing to do here, but must be overridden to avoid the assert in
459 // the base class version.
460 }

Member Data Documentation

◆ m_hideEffect

wxShowEffect Notebook::m_hideEffect
private

Referenced by DoShowPage(), Init(), and SetEffects().

◆ m_hideTimeout

unsigned Notebook::m_hideTimeout
private

◆ m_pageNames

std::vector<wxString> Notebook::m_pageNames
private

◆ m_showEffect

wxShowEffect Notebook::m_showEffect
private

Referenced by DoShowPage(), Init(), and SetEffects().

◆ m_showTimeout

unsigned Notebook::m_showTimeout
private

The documentation for this class was generated from the following files:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Notebook.hpp
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Notebook.cpp