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
4
#include "
ui/gui/CCheckButton.hpp
"
5
6
#include <bits/stdint-uintn.h>
7
#include <string>
8
9
class
CRadioButton
:
public
CCheckButton
10
{
11
public
:
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
;
21
CRadioButton
&
operator=
(
CRadioButton
&&other) =
delete
;
22
23
void
destroyWidget
()
override
;
24
25
private
:
26
IWidget
*
createWidget
(
CDialog
*dialogFather)
override
;
27
28
IWidget
*
m_widgetRef
;
29
30
CRadioButton
*
m_groupSourceRadioButton
;
// nullptr if not in any group
31
};
32
33
#endif
/* LIBS_GUI_CRADIOBUTTON_HPP_ */
CCheckButton.hpp
CCheckButton
Definition
CCheckButton.hpp:12
CDialog
Definition
CDialog.hpp:21
CRadioButton
Definition
CRadioButton.hpp:10
CRadioButton::~CRadioButton
~CRadioButton() override=default
CRadioButton::CRadioButton
CRadioButton(CRadioButton &&other)=delete
CRadioButton::CRadioButton
CRadioButton()=delete
CRadioButton::m_widgetRef
IWidget * m_widgetRef
Definition
CRadioButton.hpp:28
CRadioButton::operator=
CRadioButton & operator=(CRadioButton &&other)=delete
CRadioButton::createWidget
IWidget * createWidget(CDialog *dialogFather) override
Definition
CRadioButton.cpp:29
CRadioButton::m_groupSourceRadioButton
CRadioButton * m_groupSourceRadioButton
Definition
CRadioButton.hpp:30
CRadioButton::CRadioButton
CRadioButton(const CRadioButton &other)=delete
CRadioButton::destroyWidget
void destroyWidget() override
Definition
CRadioButton.cpp:22
CRadioButton::operator=
CRadioButton & operator=(const CRadioButton &other)=delete
CRadioButton::TSelectedOption
uint32_t TSelectedOption
Definition
CRadioButton.hpp:12
IWidget
Definition
IWidget.hpp:5
src
ui
gui
CRadioButton.hpp
Generated by
1.12.0