UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
checkbox_ui.cpp
Go to the documentation of this file.
1#include "checkbox_ui.hpp"
2
3CheckboxUi::CheckboxUi(QAbstractButton *box, Settings *settings, const std::string &opt) :
4 CheckableUi(settings, opt),
5 checkbox(box)
6{
9}
10
12 connect(checkbox, &QAbstractButton::clicked, this, &CheckboxUi::boxClicked);
13}
14
15void CheckboxUi::updateUiState(bool checked){
16 checkbox->setChecked(checked);
17}
18
22
void boxClicked(bool checked)
bool getOptValue()
void connectSignals() override
void updateUiState() override
QAbstractButton * checkbox
CheckboxUi(QAbstractButton *box, Settings *settings, const std::string &opt)