Debian Codegraph @

src/configure.h

raw symbols SCIP
1 /***************************************************************************
2 configure.h
3 -------------------
4 Application configuration dialog
5 -------------------
6 Copyright 2006-2008 David Johnson
7 All rights reserved.
8
9 Redistribution and use in source and binary forms, with or without
10 modification, are permitted provided that the following conditions
11 are met:
12
13 1. Redistributions of source code must retain the above copyright
14 notice, this list of conditions and the following disclaimer.
15
16 2. Redistributions in binary form must reproduce the above copyright
17 notice, this list of conditions and the following disclaimer in the
18 documentation and/or other materials provided with the distribution.
19
20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 ****************************************************************************/
32
33 #ifndef CONFIGURE_H
34 #define CONFIGURE_Hcxx . . $ `src/configure.h:34:9`!
35
36 #include <QDialog>
37 #include "ui_calcconfig.h"cxx . . $ `<file>/build/ui_calcconfig.h`/
38 #include "ui_generalconfig.h"cxx . . $ `<file>/build/ui_generalconfig.h`/
39 #include "ui_recipeconfig.h"cxx . . $ `<file>/build/ui_recipeconfig.h`/
40 #include "configstate.h"cxx . . $ `<file>/src/configstate.h`/
41
42 class QDialogButtonBoxcxx . . $ QDialogButtonBox#;
43 class QTabWidgetcxx . . $ QTabWidget#;
44
45 class Configurecxx . . $ Configure# : public QDialogcxx . . $ QDialog#
46 {
47 Q_OBJECTcxx . . $ QMetaObject#Call#
48 public:
49 // constructor
50 Configurecxx . . $ Configure#Configure(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent);
51 // destructor
52 virtual ~cxx . . $ Configure#`~Configure`(ced63f7c635d850d).Configurecxx . . $ Configure#();
53
54 // read in config to set states
55 void setStatecxx . . $ Configure#setState(24ed027017280a9f).(const ConfigStatecxx . . $ ConfigState# &config);
56
57 signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!:
58 // send on apply button press
59 void calcApplycxx . . $ Configure#calcApply(4810bf03babba259).(const CalcConfigStatecxx . . $ CalcConfigState# &state);
60 void generalApplycxx . . $ Configure#generalApply(76152a8faa96f310).(const GenConfigStatecxx . . $ GenConfigState# &state);
61 void recipeApplycxx . . $ Configure#recipeApply(b744b00dc6e74f5e).(const RecipeConfigStatecxx . . $ RecipeConfigState# &state);
62 // OK button pressed
63 void configureAcceptcxx . . $ Configure#configureAccept(49f6e7a06ebc5aa8).();
64
65 private:
66 // set the state for the pages
67 void setCalcStatecxx . . $ Configure#setCalcState(4810bf03babba259).(const CalcConfigStatecxx . . $ CalcConfigState# &state);
68 void setGeneralStatecxx . . $ Configure#setGeneralState(76152a8faa96f310).(const GenConfigStatecxx . . $ GenConfigState# &state);
69 void setRecipeStatecxx . . $ Configure#setRecipeState(b744b00dc6e74f5e).(const RecipeConfigStatecxx . . $ RecipeConfigState# &state);
70 void defaultscxx . . $ Configure#defaults(49f6e7a06ebc5aa8).();
71 void applycxx . . $ Configure#apply(49f6e7a06ebc5aa8).();
72
73 private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!:
74 // standard modeless dialog slots
75 void acceptcxx . . $ Configure#accept(49f6e7a06ebc5aa8).();
76 void slotClickedcxx . . $ Configure#slotClicked(6f406f547f7da55f).(QAbstractButtoncxx . . $ QAbstractButton# *button);
77 // convert the batch size when units have changed
78 void convertBatchSpincxx . . $ Configure#convertBatchSpin(3520e46b33348bf6).(const QStringcxx . . $ QString# &selection);
79
80 private:
81 QTabWidgetcxx . . $ QTabWidget# *tabwidget_cxx . . $ Configure#tabwidget_.;
82 QDialogButtonBoxcxx . . $ QDialogButtonBox# *buttonbox_cxx . . $ Configure#buttonbox_.;
83 Uicxx . . $ Ui/::CalcConfigcxx . . $ Ui/CalcConfig# *calc_cxx . . $ Configure#calc_.;
84 Uicxx . . $ Ui/::GeneralConfigcxx . . $ Ui/GeneralConfig# *general_cxx . . $ Configure#general_.;
85 Uicxx . . $ Ui/::RecipeConfigcxx . . $ Ui/RecipeConfig# *recipe_cxx . . $ Configure#recipe_.;
86 ConfigStatecxx . . $ ConfigState# state_cxx . . $ Configure#state_.;
87 };
88
89 #endif // CONFIGURE_H