Diffstat (limited to 'noncore/apps/qashmoney/budgetdisplay.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/apps/qashmoney/budgetdisplay.h | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/noncore/apps/qashmoney/budgetdisplay.h b/noncore/apps/qashmoney/budgetdisplay.h deleted file mode 100755 index a4e806c..0000000 --- a/noncore/apps/qashmoney/budgetdisplay.h +++ b/dev/null | |||
@@ -1,86 +0,0 @@ | |||
1 | #ifndef BUDGETDISPLAY_H | ||
2 | #define BUDGETDISPLAY_H | ||
3 | |||
4 | #include <qlistview.h> | ||
5 | #include <qlineedit.h> | ||
6 | #include <qpushbutton.h> | ||
7 | #include <qcombobox.h> | ||
8 | #include <qlayout.h> | ||
9 | #include <qlabel.h> | ||
10 | #include <qstringlist.h> | ||
11 | #include <qdatetime.h> | ||
12 | #include <qmenubar.h> | ||
13 | #include <qpopupmenu.h> | ||
14 | #include <qhbox.h> | ||
15 | |||
16 | #include "currency.h" | ||
17 | |||
18 | class BudgetDisplay : public QWidget | ||
19 | { | ||
20 | Q_OBJECT | ||
21 | |||
22 | public: | ||
23 | BudgetDisplay ( QWidget *parent ); | ||
24 | |||
25 | QMenuBar *menu; | ||
26 | QPopupMenu *budgetmenu; | ||
27 | QPopupMenu *lineitemsmenu; | ||
28 | QPopupMenu *datemenu; | ||
29 | |||
30 | QHBox *firstline; | ||
31 | QHBox *secondline; | ||
32 | |||
33 | QLabel *budgeted; | ||
34 | QLabel *actual; | ||
35 | QLabel *date; | ||
36 | |||
37 | QLineEdit *budgetname; | ||
38 | QLineEdit *description; | ||
39 | Currency *currencybox; | ||
40 | |||
41 | QLineEdit *lineitemname; | ||
42 | QLineEdit *lineitemamount; | ||
43 | QComboBox *lineitemtime; | ||
44 | |||
45 | QListView *listview; | ||
46 | QComboBox *budgetbox; | ||
47 | QComboBox *budgetview; | ||
48 | |||
49 | QBoxLayout *layout; | ||
50 | |||
51 | int getIDColumn (); | ||
52 | |||
53 | public slots: | ||
54 | void displayBudgetNames (); | ||
55 | void displayLineItems (); | ||
56 | void updateBudgetInformation (); | ||
57 | |||
58 | private slots: | ||
59 | void saveColumnSize ( int column, int oldsize, int newsize ); | ||
60 | void newBudget (); | ||
61 | void deleteBudget (); | ||
62 | void setCurrentBudget ( int ); | ||
63 | void setCurrentView ( int ); | ||
64 | void showCalendar (); | ||
65 | void newLineItem (); | ||
66 | void deleteLineItem (); | ||
67 | void checkBudgets (); | ||
68 | void editBudget (); | ||
69 | void editLineItem (); | ||
70 | void constructBudgetWindow (); | ||
71 | void constructLineItemWindow (); | ||
72 | void saveSortingPreference ( int column ); | ||
73 | |||
74 | private: | ||
75 | QStringList *names; | ||
76 | QStringList *ids; | ||
77 | int currentbudget, year, month, day; | ||
78 | QDate newDate; | ||
79 | QString totalbudget, totalactual; | ||
80 | QString datelabel; | ||
81 | QDialog *nb; | ||
82 | QDialog *newlineitem; | ||
83 | }; | ||
84 | |||
85 | #endif // BUDGETDISPLAY_H | ||
86 | |||