Chatterino
|
#include <SelectChannelDialog.hpp>
Public Member Functions | |
SelectChannelDialog (QWidget *parent=nullptr) | |
void | setSelectedChannel (IndirectChannel selectedChannel_) |
IndirectChannel | getSelectedChannel () const |
bool | hasSeletedChannel () const |
![]() | |
BaseWindow (FlagsEnum< Flags > flags_=None, QWidget *parent=nullptr) | |
~BaseWindow () override | |
void | setInitialBounds (const QRect &bounds) |
QRect | getBounds () |
QWidget * | getLayoutContainer () |
bool | hasCustomWindowFrame () |
TitleBarButton * | addTitleBarButton (const TitleBarButtonStyle &style, std::function< void()> onClicked) |
EffectLabel * | addTitleBarLabel (std::function< void()> onClicked) |
void | setStayInScreenRect (bool value) |
bool | getStayInScreenRect () const |
void | setActionOnFocusLoss (ActionOnFocusLoss value) |
ActionOnFocusLoss | getActionOnFocusLoss () const |
void | moveTo (QWidget *widget, QPoint point, bool offset=true) |
virtual float | scale () const override |
float | qtFontScale () const |
![]() | |
BaseWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
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 |
Public Attributes | |
pajlada::Signals::NoArgSignal | closed |
Notebook * | notebook |
QRadioButton * | channel |
QLineEdit * | channelName |
QRadioButton * | whispers |
QRadioButton * | mentions |
QRadioButton * | watching |
QRadioButton * | live |
struct { | |
QRadioButton * channel | |
QLineEdit * channelName | |
QRadioButton * whispers | |
QRadioButton * mentions | |
QRadioButton * watching | |
QRadioButton * live | |
} | twitch |
QLineEdit * | channel |
EditableModelView * | servers |
struct { | |
QLineEdit * channel | |
EditableModelView * servers | |
} | irc |
![]() | |
pajlada::Signals::NoArgSignal | closing |
QLayout * | windowLayout = nullptr |
QHBoxLayout * | titlebarBox = nullptr |
QWidget * | titleLabel = nullptr |
TitleBarButton * | minButton = nullptr |
TitleBarButton * | maxButton = nullptr |
TitleBarButton * | exitButton = nullptr |
QWidget * | layoutBase = nullptr |
std::vector< Button * > | buttons |
![]() | |
pajlada::Signals::Signal< float > | scaleChanged |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *) override |
virtual void | themeChangedEvent () override |
![]() | |
virtual bool | nativeEvent (const QByteArray &eventType, void *message, long *result) override |
virtual void | scaleChangedEvent (float) override |
virtual void | paintEvent (QPaintEvent *) override |
virtual void | changeEvent (QEvent *) override |
virtual void | leaveEvent (QEvent *) override |
virtual void | resizeEvent (QResizeEvent *) override |
virtual void | moveEvent (QMoveEvent *) override |
virtual void | showEvent (QShowEvent *) override |
virtual bool | event (QEvent *event) override |
virtual void | wheelEvent (QWheelEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | mouseMoveEvent (QMouseEvent *event) override |
void | updateScale () |
![]() | |
virtual void | childEvent (QChildEvent *) override |
void | setScale (float value) |
void | clearShortcuts () |
Friends | |
class | EventFilter |
Additional Inherited Members | |
![]() | |
enum | Flags { None = 0, EnableCustomFrame = 1, Frameless = 2, TopMost = 4, DisableCustomScaling = 8, FramelessDraggable = 16, DontFocus = 32, Dialog = 64 } |
enum | ActionOnFocusLoss { Nothing, Delete, Close, Hide } |
![]() | |
static bool | supportsCustomWindowFrame () |
![]() | |
QPointF | movingRelativePos |
bool | moving {} |
boost::optional< QColor > | overrideBackgroundColor_ |
![]() | |
Theme * | theme |
std::vector< QShortcut * > | shortcuts_ |
pajlada::Signals::SignalHolder | signalHolder_ |
chatterino::SelectChannelDialog::SelectChannelDialog | ( | QWidget * | parent = nullptr | ) |
|
overrideprotectedvirtual |
Reimplemented from chatterino::BaseWindow.
IndirectChannel chatterino::SelectChannelDialog::getSelectedChannel | ( | ) | const |
bool chatterino::SelectChannelDialog::hasSeletedChannel | ( | ) | const |
void chatterino::SelectChannelDialog::setSelectedChannel | ( | IndirectChannel | selectedChannel_ | ) |
|
overrideprotectedvirtual |
|
friend |
QRadioButton* chatterino::SelectChannelDialog::channel |
QLineEdit* chatterino::SelectChannelDialog::channel |
QLineEdit* chatterino::SelectChannelDialog::channelName |
pajlada::Signals::NoArgSignal chatterino::SelectChannelDialog::closed |
struct { ... } chatterino::SelectChannelDialog::irc |
QRadioButton* chatterino::SelectChannelDialog::live |
QRadioButton* chatterino::SelectChannelDialog::mentions |
Notebook* chatterino::SelectChannelDialog::notebook |
EditableModelView* chatterino::SelectChannelDialog::servers |
struct { ... } chatterino::SelectChannelDialog::twitch |
QRadioButton* chatterino::SelectChannelDialog::watching |
QRadioButton* chatterino::SelectChannelDialog::whispers |