CFx SDK Documentation
2020SP3
SDK
CFx
commonui_inc
UI
FxUIRadioButton.h
Go to the documentation of this file.
1
//
2
// (C) Copyright 2005-2020 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
CFxUIRadioButton::CFxUIRadioButton
CFxUIRadioButton()
FxUIBaseView.h
CFxUIRadioButton::keyWentDown
CFxUISignal< void(int, int) > & keyWentDown()
CFxUIBaseView
Definition:
FxUIBaseView.h:30
CFxUIRadioButton::clicked
CFxUISignal< void(void)> & clicked()
CFxUISignal
Definition:
FxUISignal.h:74
CFxUIRadioButton::setText
void setText(const CFxUIString &str)
CFxUIRadioButton::toggled
CFxUISignal< void(bool)> & toggled()
CFxUIRadioButton::text
const CFxUIString & text() const
CFxUIString
QString CFxUIString
Definition:
FxUIObject.h:46
CFxUIRadioButton
Definition:
FxUIRadioButton.h:28
COMMONUI_API
#define COMMONUI_API
Definition:
FxCommonFramework.h:4
CFxUIRadioButton::isChecked
bool isChecked() const
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
CFxUIRadioButton::released
CFxUISignal< void(void)> & released()
CFxUIRadioButton::~CFxUIRadioButton
~CFxUIRadioButton()
CFxUIRadioButton::setChecked
void setChecked(bool bChecked)
Generated on Mon Oct 12 2020 11:49:32