Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CRadioButton.hpp
Go to the documentation of this file.
1#ifndef LIBS_GUI_CRADIOBUTTON_HPP_
2#define LIBS_GUI_CRADIOBUTTON_HPP_
3
5
6#include <bits/stdint-uintn.h>
7#include <string>
8
10{
11public:
12 typedef uint32_t TSelectedOption;
13
14 CRadioButton(bool valueDefault, const std::string &label, CRadioButton *groupSourceRadioButton);
15 CRadioButton(bool *activeRef, const std::string &label, CRadioButton *groupSourceRadioButton);
16 CRadioButton() = delete;
17 ~CRadioButton() override = default;
18 CRadioButton(const CRadioButton &other) = delete;
19 CRadioButton(CRadioButton &&other) = delete;
20 CRadioButton &operator=(const CRadioButton &other) = delete;
22
23 void destroyWidget() override;
24
25private:
26 IWidget *createWidget(CDialog *dialogFather) override;
27
29
30 CRadioButton *m_groupSourceRadioButton;// nullptr if not in any group
31};
32
33#endif /* LIBS_GUI_CRADIOBUTTON_HPP_ */
Definition CCheckButton.hpp:12
Definition CDialog.hpp:21
Definition CRadioButton.hpp:10
~CRadioButton() override=default
CRadioButton(CRadioButton &&other)=delete
CRadioButton()=delete
IWidget * m_widgetRef
Definition CRadioButton.hpp:28
CRadioButton & operator=(CRadioButton &&other)=delete
IWidget * createWidget(CDialog *dialogFather) override
Definition CRadioButton.cpp:29
CRadioButton * m_groupSourceRadioButton
Definition CRadioButton.hpp:30
CRadioButton(const CRadioButton &other)=delete
void destroyWidget() override
Definition CRadioButton.cpp:22
CRadioButton & operator=(const CRadioButton &other)=delete
uint32_t TSelectedOption
Definition CRadioButton.hpp:12
Definition IWidget.hpp:5