#include <BaseWindow.hpp>
|
| enum | Flags {
None = 0,
EnableCustomFrame = 1,
Frameless = 2,
TopMost = 4,
DisableCustomScaling = 8,
FramelessDraggable = 16,
DontFocus = 32,
Dialog = 64
} |
| |
| enum | ActionOnFocusLoss { Nothing,
Delete,
Close,
Hide
} |
| |
◆ ActionOnFocusLoss
| Enumerator |
|---|
| Nothing | |
| Delete | |
| Close | |
| Hide | |
◆ Flags
| Enumerator |
|---|
| None | |
| EnableCustomFrame | |
| Frameless | |
| TopMost | |
| DisableCustomScaling | |
| FramelessDraggable | |
| DontFocus | |
| Dialog | |
◆ BaseWindow()
| chatterino::BaseWindow::BaseWindow |
( |
FlagsEnum< Flags > |
flags_ = None, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~BaseWindow()
| chatterino::BaseWindow::~BaseWindow |
( |
| ) |
|
|
override |
◆ addTitleBarButton()
◆ addTitleBarLabel()
| EffectLabel * chatterino::BaseWindow::addTitleBarLabel |
( |
std::function< void()> |
onClicked | ) |
|
◆ changeEvent()
| void chatterino::BaseWindow::changeEvent |
( |
QEvent * |
| ) |
|
|
overrideprotectedvirtual |
◆ closeEvent()
| void chatterino::BaseWindow::closeEvent |
( |
QCloseEvent * |
| ) |
|
|
overrideprotectedvirtual |
◆ event()
| bool chatterino::BaseWindow::event |
( |
QEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ getActionOnFocusLoss()
◆ getBounds()
| QRect chatterino::BaseWindow::getBounds |
( |
| ) |
|
◆ getLayoutContainer()
| QWidget * chatterino::BaseWindow::getLayoutContainer |
( |
| ) |
|
◆ getStayInScreenRect()
| bool chatterino::BaseWindow::getStayInScreenRect |
( |
| ) |
const |
◆ hasCustomWindowFrame()
| bool chatterino::BaseWindow::hasCustomWindowFrame |
( |
| ) |
|
◆ leaveEvent()
| void chatterino::BaseWindow::leaveEvent |
( |
QEvent * |
| ) |
|
|
overrideprotectedvirtual |
◆ mouseMoveEvent()
| void chatterino::BaseWindow::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
| void chatterino::BaseWindow::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
| void chatterino::BaseWindow::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ moveEvent()
| void chatterino::BaseWindow::moveEvent |
( |
QMoveEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ moveTo()
| void chatterino::BaseWindow::moveTo |
( |
QWidget * |
widget, |
|
|
QPoint |
point, |
|
|
bool |
offset = true |
|
) |
| |
◆ nativeEvent()
| bool chatterino::BaseWindow::nativeEvent |
( |
const QByteArray & |
eventType, |
|
|
void * |
message, |
|
|
long * |
result |
|
) |
| |
|
overrideprotectedvirtual |
◆ paintEvent()
| void chatterino::BaseWindow::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
overrideprotectedvirtual |
◆ qtFontScale()
| float chatterino::BaseWindow::qtFontScale |
( |
| ) |
const |
◆ resizeEvent()
| void chatterino::BaseWindow::resizeEvent |
( |
QResizeEvent * |
| ) |
|
|
overrideprotectedvirtual |
◆ scale()
| float chatterino::BaseWindow::scale |
( |
| ) |
const |
|
overridevirtual |
◆ scaleChangedEvent()
| void chatterino::BaseWindow::scaleChangedEvent |
( |
float |
scale | ) |
|
|
overrideprotectedvirtual |
◆ setActionOnFocusLoss()
◆ setInitialBounds()
| void chatterino::BaseWindow::setInitialBounds |
( |
const QRect & |
bounds | ) |
|
◆ setStayInScreenRect()
| void chatterino::BaseWindow::setStayInScreenRect |
( |
bool |
value | ) |
|
◆ showEvent()
| void chatterino::BaseWindow::showEvent |
( |
QShowEvent * |
| ) |
|
|
overrideprotectedvirtual |
◆ supportsCustomWindowFrame()
| bool chatterino::BaseWindow::supportsCustomWindowFrame |
( |
| ) |
|
|
static |
◆ themeChangedEvent()
| void chatterino::BaseWindow::themeChangedEvent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ updateScale()
| void chatterino::BaseWindow::updateScale |
( |
| ) |
|
|
protected |
◆ wheelEvent()
| void chatterino::BaseWindow::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ BaseWidget
◆ buttons
| std::vector<Button *> chatterino::BaseWindow::buttons |
◆ closing
| pajlada::Signals::NoArgSignal chatterino::BaseWindow::closing |
◆ exitButton
◆ layoutBase
| QWidget* chatterino::BaseWindow::layoutBase = nullptr |
◆ maxButton
◆ minButton
◆ moving
| bool chatterino::BaseWindow::moving {} |
|
protected |
◆ movingRelativePos
| QPointF chatterino::BaseWindow::movingRelativePos |
|
protected |
◆ overrideBackgroundColor_
| boost::optional<QColor> chatterino::BaseWindow::overrideBackgroundColor_ |
|
protected |
◆ titlebarBox
| QHBoxLayout* chatterino::BaseWindow::titlebarBox = nullptr |
◆ titleLabel
| QWidget* chatterino::BaseWindow::titleLabel = nullptr |
◆ windowLayout
| QLayout* chatterino::BaseWindow::windowLayout = nullptr |
The documentation for this class was generated from the following files: