CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
FxUIDialogButtonBox.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2023 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
27{
28public:
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 typedef QFlags<StandardButton> StandardButtons;
57
59 explicit CFxUIDialogButtonBox( CFxUIDialog* parent );
60
63
70
79
84
89
94
99
100 //...
101};
#define COMMONUI_API
CFxUISignal< void(void)> & rejected()
void setStandardButtons(StandardButtons buttons)
CFxUISignal< void(void)> & helpRequest()
CFxUISignal< void(void)> & accepted()
CFxUIDialogButtonBox(CFxUIDialog *parent)
QFlags< StandardButton > StandardButtons
CFxUISignal< void(CFxUIPushButton *button)> & clicked()
CFxUIPushButton * button(StandardButton which) const
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)