CFx SDK Documentation  2020SP3
FxUIDialogButtonBox.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 #include "FxUIPushButton.h"
21 #include "FxUIDialog.h"
22 
27 {
28 public:
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 };
CFxUIDialogButtonBox::helpRequest
CFxUISignal< void(void)> & helpRequest()
FxUIBaseView.h
CFxUIDialogButtonBox::StandardButtons
QFlags< StandardButton > StandardButtons
Definition: FxUIDialogButtonBox.h:56
FxUIPushButton.h
CFxUIDialog
Definition: FxUIDialog.h:30
CFxUIBaseView
Definition: FxUIBaseView.h:30
CFxUIDialogButtonBox::CFxUIDialogButtonBox
CFxUIDialogButtonBox(CFxUIDialog *parent)
CFxUISignal
Definition: FxUISignal.h:74
FxUIDialog.h
CFxUIDialogButtonBox::StandardButton
StandardButton
Definition: FxUIDialogButtonBox.h:32
CFxUIDialogButtonBox
Definition: FxUIDialogButtonBox.h:27
CFxUIDialogButtonBox::clicked
CFxUISignal< void(CFxUIPushButton *button)> & clicked()
CFxUIDialogButtonBox::button
CFxUIPushButton * button(StandardButton which) const
CFxUIDialogButtonBox::setStandardButtons
void setStandardButtons(StandardButtons buttons)
CFxUIDialogButtonBox::accepted
CFxUISignal< void(void)> & accepted()
COMMONUI_API
#define COMMONUI_API
Definition: FxCommonFramework.h:4
CFxUIDialogButtonBox::~CFxUIDialogButtonBox
~CFxUIDialogButtonBox()
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
CFxUIDialogButtonBox::rejected
CFxUISignal< void(void)> & rejected()
CFxUIPushButton
Definition: FxUIPushButton.h:30