#include <GeneralPageView.hpp>
|
| GeneralPageView (QWidget *parent=nullptr) |
|
void | addWidget (QWidget *widget) |
|
void | addLayout (QLayout *layout) |
|
void | addStretch () |
|
TitleLabel * | addTitle (const QString &text) |
|
SubtitleLabel * | addSubtitle (const QString &text) |
|
QCheckBox * | addCheckbox (const QString &text, BoolSetting &setting, bool inverse=false, QString toolTipText={}) |
|
ComboBox * | addDropdown (const QString &text, const QStringList &items, QString toolTipText={}) |
|
ComboBox * | addDropdown (const QString &text, const QStringList &items, pajlada::Settings::Setting< QString > &setting, bool editable=false, QString toolTipText={}) |
|
ColorButton * | addColorButton (const QString &text, const QColor &color, pajlada::Settings::Setting< QString > &setting, QString toolTipText={}) |
|
QSpinBox * | addIntInput (const QString &text, IntSetting &setting, int min, int max, int step, QString toolTipText={}) |
|
void | addNavigationSpacing () |
|
template<typename OnClick > |
QPushButton * | makeButton (const QString &text, OnClick onClick) |
|
template<typename OnClick > |
QPushButton * | addButton (const QString &text, OnClick onClick) |
|
template<typename T > |
ComboBox * | addDropdown (const QString &text, const QStringList &items, pajlada::Settings::Setting< T > &setting, std::function< boost::variant< int, QString >(T)> getValue, std::function< T(DropdownArgs)> setValue, bool editable=true, QString toolTipText={}) |
|
DescriptionLabel * | addDescription (const QString &text) |
|
void | addSeperator () |
|
bool | filterElements (const QString &query) |
|
◆ GeneralPageView()
chatterino::GeneralPageView::GeneralPageView |
( |
QWidget * |
parent = nullptr | ) |
|
◆ addButton()
template<typename OnClick >
QPushButton* chatterino::GeneralPageView::addButton |
( |
const QString & |
text, |
|
|
OnClick |
onClick |
|
) |
| |
|
inline |
◆ addCheckbox()
QCheckBox * chatterino::GeneralPageView::addCheckbox |
( |
const QString & |
text, |
|
|
BoolSetting & |
setting, |
|
|
bool |
inverse = false , |
|
|
QString |
toolTipText = {} |
|
) |
| |
- Parameters
-
inverse | Inverses true to false and vice versa |
◆ addColorButton()
ColorButton * chatterino::GeneralPageView::addColorButton |
( |
const QString & |
text, |
|
|
const QColor & |
color, |
|
|
pajlada::Settings::Setting< QString > & |
setting, |
|
|
QString |
toolTipText = {} |
|
) |
| |
◆ addDescription()
DescriptionLabel * chatterino::GeneralPageView::addDescription |
( |
const QString & |
text | ) |
|
◆ addDropdown() [1/3]
ComboBox * chatterino::GeneralPageView::addDropdown |
( |
const QString & |
text, |
|
|
const QStringList & |
items, |
|
|
QString |
toolTipText = {} |
|
) |
| |
◆ addDropdown() [2/3]
ComboBox * chatterino::GeneralPageView::addDropdown |
( |
const QString & |
text, |
|
|
const QStringList & |
items, |
|
|
pajlada::Settings::Setting< QString > & |
setting, |
|
|
bool |
editable = false , |
|
|
QString |
toolTipText = {} |
|
) |
| |
◆ addDropdown() [3/3]
template<typename T >
ComboBox* chatterino::GeneralPageView::addDropdown |
( |
const QString & |
text, |
|
|
const QStringList & |
items, |
|
|
pajlada::Settings::Setting< T > & |
setting, |
|
|
std::function< boost::variant< int, QString >(T)> |
getValue, |
|
|
std::function< T(DropdownArgs)> |
setValue, |
|
|
bool |
editable = true , |
|
|
QString |
toolTipText = {} |
|
) |
| |
|
inline |
◆ addIntInput()
QSpinBox * chatterino::GeneralPageView::addIntInput |
( |
const QString & |
text, |
|
|
IntSetting & |
setting, |
|
|
int |
min, |
|
|
int |
max, |
|
|
int |
step, |
|
|
QString |
toolTipText = {} |
|
) |
| |
◆ addLayout()
void chatterino::GeneralPageView::addLayout |
( |
QLayout * |
layout | ) |
|
◆ addNavigationSpacing()
void chatterino::GeneralPageView::addNavigationSpacing |
( |
| ) |
|
◆ addSeperator()
void chatterino::GeneralPageView::addSeperator |
( |
| ) |
|
◆ addStretch()
void chatterino::GeneralPageView::addStretch |
( |
| ) |
|
◆ addSubtitle()
SubtitleLabel * chatterino::GeneralPageView::addSubtitle |
( |
const QString & |
text | ) |
|
◆ addTitle()
TitleLabel * chatterino::GeneralPageView::addTitle |
( |
const QString & |
text | ) |
|
◆ addWidget()
void chatterino::GeneralPageView::addWidget |
( |
QWidget * |
widget | ) |
|
◆ filterElements()
bool chatterino::GeneralPageView::filterElements |
( |
const QString & |
query | ) |
|
◆ makeButton()
template<typename OnClick >
QPushButton* chatterino::GeneralPageView::makeButton |
( |
const QString & |
text, |
|
|
OnClick |
onClick |
|
) |
| |
|
inline |
◆ resizeEvent()
void chatterino::GeneralPageView::resizeEvent |
( |
QResizeEvent * |
ev | ) |
|
|
inlineoverrideprotected |
The documentation for this class was generated from the following files: