CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
commonui_inc
UI
FxUIDialogButtonBox.h
Go to the documentation of this file.
1
//
2
// (C) Copyright 2005-2025 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
#include "
FxUIPushButton.h
"
21
#include "
FxUIDialog.h
"
22
26
class
COMMONUI_API
CFxUIDialogButtonBox
:
public
CFxUIBaseView
27
{
28
public
:
32
enum
StandardButton
{
33
NoButton
= 0x00000000,
34
Ok
= 0x00000400,
35
Save
= 0x00000800,
36
SaveAll
= 0x00001000,
37
Open
= 0x00002000,
38
Yes
= 0x00004000,
39
YesToAll
= 0x00008000,
40
No
= 0x00010000,
41
NoToAll
= 0x00020000,
42
Abort
= 0x00040000,
43
Retry
= 0x00080000,
44
Ignore
= 0x00100000,
45
Close
= 0x00200000,
46
Cancel
= 0x00400000,
47
Discard
= 0x00800000,
48
Help
= 0x01000000,
49
Apply
= 0x02000000,
50
Reset
= 0x04000000,
51
RestoreDefaults
= 0x08000000,
52
53
FirstButton
=
Ok
,
54
LastButton
=
RestoreDefaults
55
};
56
58
explicit
CFxUIDialogButtonBox
(
CFxUIDialog
*
parent
);
59
61
~CFxUIDialogButtonBox
();
62
68
void
setStandardButtons
(
StandardButton
buttons );
69
77
CFxUIPushButton
*
button
(
StandardButton
which )
const
;
78
82
CFxUISignal
<
void
(
void
)>&
accepted
();
83
87
CFxUISignal
<
void
(
CFxUIPushButton
*
button
)>&
clicked
();
88
92
CFxUISignal
<
void
(
void
)>&
helpRequest
();
93
97
CFxUISignal
<
void
(
void
)>&
rejected
();
98
99
//...
100
};
COMMONUI_API
#define COMMONUI_API
Definition
FxCommonFramework.h:20
FxUIBaseView.h
FxUIDialog.h
FxUIPushButton.h
CFxUIBaseView::CFxUIBaseView
CFxUIBaseView()
CFxUIDialogButtonBox::rejected
CFxUISignal< void(void)> & rejected()
CFxUIDialogButtonBox::helpRequest
CFxUISignal< void(void)> & helpRequest()
CFxUIDialogButtonBox::StandardButton
StandardButton
Definition
FxUIDialogButtonBox.h:32
CFxUIDialogButtonBox::Ignore
@ Ignore
An "Ignore" button defined.Clicking the button causes the dialog to be accepted.
Definition
FxUIDialogButtonBox.h:44
CFxUIDialogButtonBox::NoButton
@ NoButton
An invalid button defined.
Definition
FxUIDialogButtonBox.h:33
CFxUIDialogButtonBox::Save
@ Save
A "Save" button defined.Clicking the button causes the dialog to be accepted.
Definition
FxUIDialogButtonBox.h:35
CFxUIDialogButtonBox::No
@ No
A "No" button defined.
Definition
FxUIDialogButtonBox.h:40
CFxUIDialogButtonBox::SaveAll
@ SaveAll
A "SaveAll" button defined.Clicking the button causes the dialog to be accepted.
Definition
FxUIDialogButtonBox.h:36
CFxUIDialogButtonBox::Close
@ Close
A "Close" button defined.Clicking the button causes the dialog to be rejected.
Definition
FxUIDialogButtonBox.h:45
CFxUIDialogButtonBox::FirstButton
@ FirstButton
An "Ok" button defined.
Definition
FxUIDialogButtonBox.h:53
CFxUIDialogButtonBox::NoToAll
@ NoToAll
A "NoToAll" button defined.
Definition
FxUIDialogButtonBox.h:41
CFxUIDialogButtonBox::Open
@ Open
An "Open" button defined.Clicking the button causes the dialog to be accepted.
Definition
FxUIDialogButtonBox.h:37
CFxUIDialogButtonBox::Apply
@ Apply
An "Apply" button defined.
Definition
FxUIDialogButtonBox.h:49
CFxUIDialogButtonBox::RestoreDefaults
@ RestoreDefaults
A "RestoreDefaults" button defined.
Definition
FxUIDialogButtonBox.h:51
CFxUIDialogButtonBox::Cancel
@ Cancel
A "Cancel" button defined.Clicking the button causes the dialog to be rejected.
Definition
FxUIDialogButtonBox.h:46
CFxUIDialogButtonBox::Discard
@ Discard
A "Discard" button defined.
Definition
FxUIDialogButtonBox.h:47
CFxUIDialogButtonBox::Abort
@ Abort
An "Abort" button defined.Clicking the button causes the dialog to be rejected.
Definition
FxUIDialogButtonBox.h:42
CFxUIDialogButtonBox::Help
@ Help
A "Help" button defined.
Definition
FxUIDialogButtonBox.h:48
CFxUIDialogButtonBox::Yes
@ Yes
A "Yes" button defined.
Definition
FxUIDialogButtonBox.h:38
CFxUIDialogButtonBox::LastButton
@ LastButton
A "RestoreDefaults" button defined.
Definition
FxUIDialogButtonBox.h:54
CFxUIDialogButtonBox::YesToAll
@ YesToAll
A "YesToAll" button defined.
Definition
FxUIDialogButtonBox.h:39
CFxUIDialogButtonBox::Ok
@ Ok
An "Ok" button defined.Clicking the button causes the dialog to be accepted.
Definition
FxUIDialogButtonBox.h:34
CFxUIDialogButtonBox::Retry
@ Retry
A "Retry" button defined.Clicking the button causes the dialog to be accepted.
Definition
FxUIDialogButtonBox.h:43
CFxUIDialogButtonBox::Reset
@ Reset
A "Reset" button defined.
Definition
FxUIDialogButtonBox.h:50
CFxUIDialogButtonBox::~CFxUIDialogButtonBox
~CFxUIDialogButtonBox()
CFxUIDialogButtonBox::accepted
CFxUISignal< void(void)> & accepted()
CFxUIDialogButtonBox::CFxUIDialogButtonBox
CFxUIDialogButtonBox(CFxUIDialog *parent)
CFxUIDialogButtonBox::clicked
CFxUISignal< void(CFxUIPushButton *button)> & clicked()
CFxUIDialogButtonBox::button
CFxUIPushButton * button(StandardButton which) const
CFxUIDialogButtonBox::setStandardButtons
void setStandardButtons(StandardButton buttons)
CFxUIDialog
Definition
FxUIDialog.h:33
CFxUIObject::parent
CFxUIObject * parent()
CFxUIPushButton
Definition
FxUIPushButton.h:31
CFxUISignal
Definition
FxUISignal.h:72
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
Generated on Tue Apr 15 2025 11:29:57