Chatterino
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
chatterino::SelectChannelDialog Class Referencefinal

#include <SelectChannelDialog.hpp>

Inheritance diagram for chatterino::SelectChannelDialog:
[legend]
Collaboration diagram for chatterino::SelectChannelDialog:
[legend]

Public Member Functions

 SelectChannelDialog (QWidget *parent=nullptr)
 
void setSelectedChannel (IndirectChannel selectedChannel_)
 
IndirectChannel getSelectedChannel () const
 
bool hasSeletedChannel () const
 
- Public Member Functions inherited from chatterino::BaseWindow
 BaseWindow (FlagsEnum< Flags > flags_=None, QWidget *parent=nullptr)
 
 ~BaseWindow () override
 
void setInitialBounds (const QRect &bounds)
 
QRect getBounds ()
 
QWidget * getLayoutContainer ()
 
bool hasCustomWindowFrame ()
 
TitleBarButtonaddTitleBarButton (const TitleBarButtonStyle &style, std::function< void()> onClicked)
 
EffectLabeladdTitleBarLabel (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
 
- Public Member Functions inherited from chatterino::BaseWidget
 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
 
Notebooknotebook
 
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
 
EditableModelViewservers
 
struct {
   QLineEdit *   channel
 
   EditableModelView *   servers
 
irc
 
- Public Attributes inherited from chatterino::BaseWindow
pajlada::Signals::NoArgSignal closing
 
QLayout * windowLayout = nullptr
 
QHBoxLayout * titlebarBox = nullptr
 
QWidget * titleLabel = nullptr
 
TitleBarButtonminButton = nullptr
 
TitleBarButtonmaxButton = nullptr
 
TitleBarButtonexitButton = nullptr
 
QWidget * layoutBase = nullptr
 
std::vector< Button * > buttons
 
- Public Attributes inherited from chatterino::BaseWidget
pajlada::Signals::Signal< float > scaleChanged
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *) override
 
virtual void themeChangedEvent () override
 
- Protected Member Functions inherited from chatterino::BaseWindow
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 ()
 
- Protected Member Functions inherited from chatterino::BaseWidget
virtual void childEvent (QChildEvent *) override
 
void setScale (float value)
 
void clearShortcuts ()
 

Friends

class EventFilter
 

Additional Inherited Members

- Public Types inherited from chatterino::BaseWindow
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 Public Member Functions inherited from chatterino::BaseWindow
static bool supportsCustomWindowFrame ()
 
- Protected Attributes inherited from chatterino::BaseWindow
QPointF movingRelativePos
 
bool moving {}
 
boost::optional< QColor > overrideBackgroundColor_
 
- Protected Attributes inherited from chatterino::BaseWidget
Themetheme
 
std::vector< QShortcut * > shortcuts_
 
pajlada::Signals::SignalHolder signalHolder_
 

Constructor & Destructor Documentation

◆ SelectChannelDialog()

chatterino::SelectChannelDialog::SelectChannelDialog ( QWidget *  parent = nullptr)
Here is the call graph for this function:

Member Function Documentation

◆ closeEvent()

void chatterino::SelectChannelDialog::closeEvent ( QCloseEvent *  )
overrideprotectedvirtual

Reimplemented from chatterino::BaseWindow.

◆ getSelectedChannel()

IndirectChannel chatterino::SelectChannelDialog::getSelectedChannel ( ) const
Here is the call graph for this function:

◆ hasSeletedChannel()

bool chatterino::SelectChannelDialog::hasSeletedChannel ( ) const
Here is the call graph for this function:

◆ setSelectedChannel()

void chatterino::SelectChannelDialog::setSelectedChannel ( IndirectChannel  selectedChannel_)
Here is the call graph for this function:

◆ themeChangedEvent()

void chatterino::SelectChannelDialog::themeChangedEvent ( )
overrideprotectedvirtual

Reimplemented from chatterino::BaseWindow.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ EventFilter

friend class EventFilter
friend

Member Data Documentation

◆ channel [1/2]

QRadioButton* chatterino::SelectChannelDialog::channel

◆ channel [2/2]

QLineEdit* chatterino::SelectChannelDialog::channel

◆ channelName

QLineEdit* chatterino::SelectChannelDialog::channelName

◆ closed

pajlada::Signals::NoArgSignal chatterino::SelectChannelDialog::closed

◆ irc

struct { ... } chatterino::SelectChannelDialog::irc

◆ live

QRadioButton* chatterino::SelectChannelDialog::live

◆ mentions

QRadioButton* chatterino::SelectChannelDialog::mentions

◆ notebook

Notebook* chatterino::SelectChannelDialog::notebook

◆ servers

EditableModelView* chatterino::SelectChannelDialog::servers

◆ twitch

struct { ... } chatterino::SelectChannelDialog::twitch

◆ watching

QRadioButton* chatterino::SelectChannelDialog::watching

◆ whispers

QRadioButton* chatterino::SelectChannelDialog::whispers

The documentation for this class was generated from the following files: