#include <Notebook.hpp>
◆ Notebook()
chatterino::Notebook::Notebook |
( |
QWidget * |
parent | ) |
|
|
explicit |
◆ ~Notebook()
chatterino::Notebook::~Notebook |
( |
| ) |
|
|
overridedefault |
◆ addCustomButton()
◆ addNotebookActionsToMenu()
void chatterino::Notebook::addNotebookActionsToMenu |
( |
QMenu * |
menu | ) |
|
◆ addPage()
NotebookTab * chatterino::Notebook::addPage |
( |
QWidget * |
page, |
|
|
QString |
title = QString() , |
|
|
bool |
select = false |
|
) |
| |
◆ getAddButton()
◆ getAllowUserTabManagement()
bool chatterino::Notebook::getAllowUserTabManagement |
( |
| ) |
const |
◆ getPageAt()
QWidget * chatterino::Notebook::getPageAt |
( |
int |
index | ) |
const |
◆ getPageCount()
int chatterino::Notebook::getPageCount |
( |
| ) |
const |
◆ getSelectedIndex()
int chatterino::Notebook::getSelectedIndex |
( |
| ) |
const |
◆ getSelectedPage()
QWidget * chatterino::Notebook::getSelectedPage |
( |
| ) |
const |
◆ getShowAddButton()
bool chatterino::Notebook::getShowAddButton |
( |
| ) |
const |
◆ getShowTabs()
bool chatterino::Notebook::getShowTabs |
( |
| ) |
const |
◆ indexOf()
int chatterino::Notebook::indexOf |
( |
QWidget * |
page | ) |
const |
◆ isNotebookLayoutLocked()
bool chatterino::Notebook::isNotebookLayoutLocked |
( |
| ) |
const |
◆ items()
const QList<Item> chatterino::Notebook::items |
( |
| ) |
|
|
inlineprotected |
◆ mousePressEvent()
void chatterino::Notebook::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ paintEvent()
void chatterino::Notebook::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotectedvirtual |
horizontal line
vertical line
◆ performLayout()
void chatterino::Notebook::performLayout |
( |
bool |
animate = false | ) |
|
Notebook tabs need to know if they are in the last row.
Break line if element doesn't fit.
Layout tab
Update which tabs are in the last row
Increment for the line at the bottom
Layout tab
Layout tab
Notebook tabs need to know if they are in the last row.
Break line if element doesn't fit.
Layout tab
Update which tabs are in the last row
◆ rearrangePage()
void chatterino::Notebook::rearrangePage |
( |
QWidget * |
page, |
|
|
int |
index |
|
) |
| |
◆ removeCurrentPage()
void chatterino::Notebook::removeCurrentPage |
( |
| ) |
|
◆ removePage()
void chatterino::Notebook::removePage |
( |
QWidget * |
page | ) |
|
◆ resizeEvent()
void chatterino::Notebook::resizeEvent |
( |
QResizeEvent * |
| ) |
|
|
overrideprotectedvirtual |
◆ scaleChangedEvent()
void chatterino::Notebook::scaleChangedEvent |
( |
float |
scale_ | ) |
|
|
overrideprotectedvirtual |
◆ select()
void chatterino::Notebook::select |
( |
QWidget * |
page, |
|
|
bool |
focusPage = true |
|
) |
| |
|
virtual |
◆ selectIndex()
void chatterino::Notebook::selectIndex |
( |
int |
index, |
|
|
bool |
focusPage = true |
|
) |
| |
◆ selectLastTab()
void chatterino::Notebook::selectLastTab |
( |
bool |
focusPage = true | ) |
|
◆ selectNextTab()
void chatterino::Notebook::selectNextTab |
( |
bool |
focusPage = true | ) |
|
◆ selectPreviousTab()
void chatterino::Notebook::selectPreviousTab |
( |
bool |
focusPage = true | ) |
|
◆ setAllowUserTabManagement()
void chatterino::Notebook::setAllowUserTabManagement |
( |
bool |
value | ) |
|
◆ setLockNotebookLayout()
void chatterino::Notebook::setLockNotebookLayout |
( |
bool |
value | ) |
|
◆ setShowAddButton()
void chatterino::Notebook::setShowAddButton |
( |
bool |
value | ) |
|
◆ setShowTabs()
void chatterino::Notebook::setShowTabs |
( |
bool |
value | ) |
|
◆ setTabLocation()
◆ tabAt()
QWidget * chatterino::Notebook::tabAt |
( |
QPoint |
point, |
|
|
int & |
index, |
|
|
int |
maxWidth = 2000000000 |
|
) |
| |
The documentation for this class was generated from the following files:
- /var/chatterino-doxygen/chatterino2/src/widgets/Notebook.hpp
- /var/chatterino-doxygen/chatterino2/src/widgets/Notebook.cpp