CFx SDK Documentation
2023 SP0
SDK
CFx
commonui_inc
UI
FxUIRadioButton.h
Go to the documentation of this file.
1
//
2
// (C) Copyright 2005-2022 by Graebert GmbH.
3
//
4
// Permission to use, copy, modify, and distribute this software in
5
// object code form for any purpose and without fee is hereby granted,
6
// provided that the above copyright notice appears in all copies and
7
// that both that copyright notice and the limited warranty and
8
// restricted rights notice below appear in all supporting
9
// documentation.
10
//
11
// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12
// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15
// UNINTERRUPTED OR ERROR FREE.
16
17
#pragma once
18
19
#include "
FxUIBaseView.h
"
20
21
class
QString;
22
27
class
COMMONUI_API
CFxUIRadioButton
:
public
CFxUIBaseView
28
{
29
public
:
31
CFxUIRadioButton
();
32
34
~CFxUIRadioButton
();
35
41
const
CFxUIString
&
text
()
const
;
42
48
void
setText
(
const
CFxUIString
& str );
49
57
void
setChecked
(
bool
bChecked );
58
64
bool
isChecked
()
const
;
65
69
CFxUISignal
<
void
(
void
)>&
released
();
70
74
CFxUISignal
<
void
(
void
)>&
clicked
();
75
79
CFxUISignal
<
void
(
bool
)>&
toggled
();
80
85
CFxUISignal
<
void
(
int
,
int
) >&
keyWentDown
();
86
87
//...
88
};
89
COMMONUI_API
#define COMMONUI_API
Definition:
FxCommonFramework.h:20
FxUIBaseView.h
CFxUIString
QString CFxUIString
Definition:
FxUIObject.h:48
CFxUIBaseView
Definition:
FxUIBaseView.h:30
CFxUIRadioButton
Definition:
FxUIRadioButton.h:28
CFxUIRadioButton::released
CFxUISignal< void(void)> & released()
CFxUIRadioButton::setText
void setText(const CFxUIString &str)
CFxUIRadioButton::~CFxUIRadioButton
~CFxUIRadioButton()
CFxUIRadioButton::text
const CFxUIString & text() const
CFxUIRadioButton::setChecked
void setChecked(bool bChecked)
CFxUIRadioButton::clicked
CFxUISignal< void(void)> & clicked()
CFxUIRadioButton::CFxUIRadioButton
CFxUIRadioButton()
CFxUIRadioButton::toggled
CFxUISignal< void(bool)> & toggled()
CFxUIRadioButton::isChecked
bool isChecked() const
CFxUIRadioButton::keyWentDown
CFxUISignal< void(int, int) > & keyWentDown()
CFxUISignal
Definition:
FxUISignal.h:74
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
Generated on Thu Feb 24 2022 15:09:31