Debian Codegraph @

HercPrinter/DecolationDialog.h

raw symbols SCIP
1 /*
2 * File: DecolationDialog.h
3 *
4 * Author: Jacob Dekel
5 * Created on: May 10, 2014
6 *
7 * Copyright (c) 2009-2014 Jacob Dekel
8 * $Id$
9 *
10 * This object is the decolation definition/management dialog
11 *
12 * This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 *
25 */
26
27 #ifndef DECOLATIONDIALOG_H
28 #define DECOLATIONDIALOG_Hcxx . . $ `HercPrinter/DecolationDialog.h:28:9`!
29
30 #include "DecolationRules.h"cxx . . $ `<file>/HercPrinter/DecolationRules.h`/
31
32 #include <QDialog>
33 #include <QAbstractTableModel>
34 #include <QList>
35
36 class DecolationRulescxx . . $ DecolationRules#;
37
38 #define DecTableTypecxx . . $ `HercPrinter/DecolationDialog.h:38:9`! QList<QStringList>
39 class DecolationModelBasecxx . . $ DecolationModelBase# : public QAbstractTableModelcxx . . $ QAbstractTableModel#
40 {
41 public:
42 DecolationModelBasecxx . . $ DecolationModelBase#DecolationModelBase(749de1b6ae65bddd).(QObjectcxx . . $ QObject# * parent = 0);
43 virtual int rowCountcxx . . $ DecolationModelBase#rowCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex# &parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(49f6e7a06ebc5aa8).()) const;
44 virtual int columnCountcxx . . $ DecolationModelBase#columnCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex# &parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(49f6e7a06ebc5aa8).()) const;
45 virtual bool removeRowcxx . . $ DecolationModelBase#removeRow(eb30e146838e644d). ( int row, const QModelIndexcxx . . $ QModelIndex# & parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(49f6e7a06ebc5aa8).() );
46 virtual QVariantcxx . . $ QVariant# datacxx . . $ DecolationModelBase#data(69b5b18a001c0029).(const QModelIndexcxx . . $ QModelIndex# &index, int role = Qtcxx . . $ Qt/::DisplayRolecxx . . $ Qt/DisplayRole.) const;
47 virtual QVariantcxx . . $ QVariant# rowDatacxx . . $ DecolationModelBase#rowData(cc12416a8a986c8f).(const QModelIndexcxx . . $ QModelIndex# &index) const;
48 virtual Qtcxx . . $ Qt/::ItemFlagscxx . . $ Qt/ItemFlags# flagscxx . . $ DecolationModelBase#flags(36b38c1b3d3f7b45).(const QModelIndexcxx . . $ QModelIndex# &index) const;
49 virtual bool setDatacxx . . $ DecolationModelBase#setData(6d1d8401440d0a2c).(const QModelIndexcxx . . $ QModelIndex# &index, const QVariantcxx . . $ QVariant# &value, int role = Qtcxx . . $ Qt/::EditRolecxx . . $ Qt/EditRole.);
50 virtual void clearcxx . . $ DecolationModelBase#clear(49f6e7a06ebc5aa8).();
51
52 virtual QVariantcxx . . $ QVariant# headerDatacxx . . $ DecolationModelBase#headerData(b8cfec0985494997).( int section, Qtcxx . . $ Qt/::Orientationcxx . . $ Qt/Orientation# orientation, int role = Qtcxx . . $ Qt/::DisplayRolecxx . . $ Qt/DisplayRole. ) const = 0;
53 virtual void addToDecolationcxx . . $ DecolationModelBase#addToDecolation(c8943bd670c1e1eb).(DecolationRulescxx . . $ DecolationRules# & decolationRules) = 0;
54
55 protected:
56 DecTableTypecxx . . $ `HercPrinter/DecolationDialog.h:38:9`! zmTablecxx . . $ DecolationModelBase#zmTable.;
57 };
58
59 class SepTableModelcxx . . $ SepTableModel# : public DecolationModelBasecxx . . $ DecolationModelBase#
60 {
61 public:
62 SepTableModelcxx . . $ SepTableModel#SepTableModel(749de1b6ae65bddd).(QObjectcxx . . $ QObject# * parent = 0);
63
64 virtual bool insertRowcxx . . $ SepTableModel#insertRow(f73808b27199f0eb).(int row, const QModelIndexcxx . . $ QModelIndex# &, int line, int column, const QStringcxx . . $ QString# &value, Triggercxx . . $ Trigger#::TriggerTypecxx . . $ Trigger#TriggerType# type);
65 virtual QVariantcxx . . $ QVariant# headerDatacxx . . $ SepTableModel#headerData(b8cfec0985494997).( int section, Qtcxx . . $ Qt/::Orientationcxx . . $ Qt/Orientation# orientation, int role = Qtcxx . . $ Qt/::DisplayRolecxx . . $ Qt/DisplayRole. ) const;
66 virtual void addToDecolationcxx . . $ SepTableModel#addToDecolation(c8943bd670c1e1eb).(DecolationRulescxx . . $ DecolationRules# & decolationRules);
67 };
68
69 class AccountingTableModelcxx . . $ AccountingTableModel# : public DecolationModelBasecxx . . $ DecolationModelBase#
70 {
71 public:
72 AccountingTableModelcxx . . $ AccountingTableModel#AccountingTableModel(749de1b6ae65bddd).(QObjectcxx . . $ QObject# * parent = 0);
73
74 virtual bool insertRowcxx . . $ AccountingTableModel#insertRow(6b1c50be8592b491).(int row, const QModelIndexcxx . . $ QModelIndex# &, int line, int column, int length, QStringcxx . . $ QString# name);
75 virtual QVariantcxx . . $ QVariant# headerDatacxx . . $ AccountingTableModel#headerData(b8cfec0985494997).( int section, Qtcxx . . $ Qt/::Orientationcxx . . $ Qt/Orientation# orientation, int role = Qtcxx . . $ Qt/::DisplayRolecxx . . $ Qt/DisplayRole. ) const;
76 virtual void addToDecolationcxx . . $ AccountingTableModel#addToDecolation(c8943bd670c1e1eb).(DecolationRulescxx . . $ DecolationRules# & decolationRules);
77 };
78
79
80 namespace Uicxx . . $ Ui/ {
81 class DecolationDialogcxx . . $ Ui/DecolationDialog#;
82 }
83
84 class DecolationDialogcxx . . $ DecolationDialog# : public QDialogcxx . . $ QDialog#
85 {
86 Q_OBJECTcxx . . $ DecolationDialog#staticMetaObject.
87
88 public:
89 explicit DecolationDialogcxx . . $ DecolationDialog#DecolationDialog(d71cd35ae558283).(QWidgetcxx . . $ QWidget# *parent = 0, const QStringcxx . . $ QString#& item=QStringcxx . . $ QString#QString(49f6e7a06ebc5aa8).());
90 ~cxx . . $ DecolationDialog#`~DecolationDialog`(49f6e7a06ebc5aa8).DecolationDialogcxx . . $ DecolationDialog#();
91
92 private:
93 void populatecxx . . $ DecolationDialog#populate(49f6e7a06ebc5aa8).();
94 void savecxx . . $ DecolationDialog#save(7df51288a9ebd664).(QStringcxx . . $ QString# name);
95 bool builtinDecolationcxx . . $ DecolationDialog#builtinDecolation(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# decName);
96 void setProtectedcxx . . $ DecolationDialog#setProtected(b45ddcbc8423892c).(bool protect);
97
98 Uicxx . . $ Ui/::DecolationDialogcxx . . $ Ui/DecolationDialog# *uicxx . . $ DecolationDialog#ui.;
99
100 SepTableModelcxx . . $ SepTableModel# * mSepModelcxx . . $ DecolationDialog#mSepModel.;
101 AccountingTableModelcxx . . $ AccountingTableModel# * mAccModelcxx . . $ DecolationDialog#mAccModel.;
102 QStringcxx . . $ QString# mCurrentNamecxx . . $ DecolationDialog#mCurrentName.;
103
104 private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!:
105 void deleteClickedcxx . . $ DecolationDialog#deleteClicked(49f6e7a06ebc5aa8).();
106 void cancelClickedcxx . . $ DecolationDialog#cancelClicked(49f6e7a06ebc5aa8).();
107 void nameChangedcxx . . $ DecolationDialog#nameChanged(d4f767463ce0a6b3).(int index);
108 void nameEditedcxx . . $ DecolationDialog#nameEdited(7df51288a9ebd664).(QStringcxx . . $ QString# name);
109 void addSeperatorcxx . . $ DecolationDialog#addSeperator(49f6e7a06ebc5aa8).();
110 void addAccountingcxx . . $ DecolationDialog#addAccounting(49f6e7a06ebc5aa8).();
111 void insertSeperatorcxx . . $ DecolationDialog#insertSeperator(49f6e7a06ebc5aa8).();
112 void insertAccountingcxx . . $ DecolationDialog#insertAccounting(49f6e7a06ebc5aa8).();
113 void deleteSeperatorcxx . . $ DecolationDialog#deleteSeperator(49f6e7a06ebc5aa8).();
114 void deleteAccountingcxx . . $ DecolationDialog#deleteAccounting(49f6e7a06ebc5aa8).();
115 };
116
117 #endif // DECOLATIONDIALOG_H