FreeDebks  1.0.3
 All Classes Files Functions Variables Friends Pages
guiDefinitions.hpp
Go to the documentation of this file.
1 // --------------------------------------------------------------------
2 // Copyright © 2011-2013 Mathieu Schopfer
3 //
4 // This file is part of FreeDebks.
5 //
6 // FreeDebks is free software: you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation, either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // FreeDebks is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with FreeDebks. If not, see <http://www.gnu.org/licenses/>.
18 // --------------------------------------------------------------------
19 
24 #ifndef GUIDEFINITIONS_HPP
25 #define GUIDEFINITIONS_HPP
26 
27 #include "../data/dataDefinitions.hpp"
28 
29 extern QString DIR_PREFIX;
30 
31 class FdMainWindow;
34 class FdViewCoa;
35 class FdViewJournal;
36 class FdViewResults;
38 struct tableElement;
39 
43 enum TabRole {
44  CoaRole = 1,
45  JournalRole = 2,
46  ResultsRole = 3,
47  AccountRole = 4
48  };
49 
53 enum PrintProperties {
54  PrintCoa = 0,
55  PrintJournal = 1,
56  PrintResults = 2,
57  PrintAccounts = 3
58 };
59 
60 #endif // GUIDEFINITIONS_HPP