|
Chatterino
|
#include <Notebook.hpp>
Public Member Functions | |
| SplitNotebook (Window *parent) | |
| SplitContainer * | addPage (bool select=false) |
| SplitContainer * | getOrAddSelectedPage () |
| void | select (QWidget *page, bool focusPage=true) override |
Public Member Functions inherited from chatterino::Notebook | |
| Notebook (QWidget *parent) | |
| ~Notebook () override=default | |
| NotebookTab * | addPage (QWidget *page, QString title=QString(), bool select=false) |
| void | removePage (QWidget *page) |
| void | removeCurrentPage () |
| int | indexOf (QWidget *page) const |
| void | selectIndex (int index, bool focusPage=true) |
| void | selectNextTab (bool focusPage=true) |
| void | selectPreviousTab (bool focusPage=true) |
| void | selectLastTab (bool focusPage=true) |
| int | getPageCount () const |
| QWidget * | getPageAt (int index) const |
| int | getSelectedIndex () const |
| QWidget * | getSelectedPage () const |
| QWidget * | tabAt (QPoint point, int &index, int maxWidth=2000000000) |
| void | rearrangePage (QWidget *page, int index) |
| bool | getAllowUserTabManagement () const |
| void | setAllowUserTabManagement (bool value) |
| bool | getShowTabs () const |
| void | setShowTabs (bool value) |
| bool | getShowAddButton () const |
| void | setShowAddButton (bool value) |
| void | performLayout (bool animate=false) |
| void | setTabLocation (NotebookTabLocation location) |
| bool | isNotebookLayoutLocked () const |
| void | setLockNotebookLayout (bool value) |
| void | addNotebookActionsToMenu (QMenu *menu) |
Public Member Functions inherited from chatterino::BaseWidget | |
| BaseWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
| virtual float | scale () const |
| boost::optional< float > | overrideScale () const |
| void | setOverrideScale (boost::optional< float >) |
| QSize | scaleIndependantSize () const |
| int | scaleIndependantWidth () const |
| int | scaleIndependantHeight () const |
| void | setScaleIndependantSize (int width, int height) |
| void | setScaleIndependantSize (QSize) |
| void | setScaleIndependantWidth (int value) |
| void | setScaleIndependantHeight (int value) |
| float | qtFontScale () const |
Protected Member Functions | |
| void | showEvent (QShowEvent *event) override |
Protected Member Functions inherited from chatterino::Notebook | |
| virtual void | scaleChangedEvent (float scale_) override |
| virtual void | resizeEvent (QResizeEvent *) override |
| virtual void | mousePressEvent (QMouseEvent *event) override |
| virtual void | paintEvent (QPaintEvent *) override |
| NotebookButton * | getAddButton () |
| NotebookButton * | addCustomButton () |
| const QList< Item > | items () |
Protected Member Functions inherited from chatterino::BaseWidget | |
| virtual void | childEvent (QChildEvent *) override |
| virtual void | themeChangedEvent () |
| virtual void | addShortcuts () |
| void | setScale (float value) |
| void | clearShortcuts () |
Additional Inherited Members | |
Public Attributes inherited from chatterino::BaseWidget | |
| pajlada::Signals::Signal< float > | scaleChanged |
Protected Attributes inherited from chatterino::BaseWidget | |
| Theme * | theme |
| std::vector< QShortcut * > | shortcuts_ |
| pajlada::Signals::SignalHolder | signalHolder_ |
| chatterino::SplitNotebook::SplitNotebook | ( | Window * | parent | ) |
| SplitContainer * chatterino::SplitNotebook::addPage | ( | bool | select = false | ) |
| SplitContainer * chatterino::SplitNotebook::getOrAddSelectedPage | ( | ) |
|
overridevirtual |
Reimplemented from chatterino::Notebook.
|
overrideprotectedvirtual |
1.8.13