LibEngsas
eglobal.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2010 - 2012 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Lesser General Public
6  License as published by the Free Software Foundation; either
7  version 2.1 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Lesser General Public License for more details.
13 
14  You should have received a copy of the GNU Lesser General Public
15  License along with this library; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17  MA 02110-1301 USA.
18 */
19 
101 #ifndef EGLOBAL_H
102 #define EGLOBAL_H
103 
104 #ifdef E_BUILD_CORE_LIB
105  #define E_CORE_EXPORT Q_DECL_EXPORT
106 #else
107  #define E_CORE_EXPORT Q_DECL_IMPORT
108 #endif
109 
110 #include <QObject>
111 
112 class ECmdLineOption;
113 class EAboutPerson;
114 class ESetupWizardObject;
116 class ESpreadsheet;
117 
121 namespace EngSaS {
128  };
129 
130  Q_FLAGS(AvailableActions)
136  {
137  FileNew = 0x0001,
138  FileOpen = 0x0002,
139  FileSave = 0x0004,
140  FileSaveAs = 0x0008,
141  FilePrint = 0x0016,
142  EditUndo = 0x0032,
143  EditRedo = 0x0064,
144  EditCut = 0x0128,
145  EditCopy = 0x0256,
146  EditPaste = 0x0512,
147  ViewReload = 0x1024
148  };
149  Q_DECLARE_FLAGS(AvailableActions, AvailableAction)
150  Q_ENUMS(AvailableAction)
151 
160  typedef QList<EAboutPerson*> AboutPersons;
172  typedef QList<ESpreadsheet*> Spreadsheets;
173 
177  namespace SQL {
184  };
185  };
186 };
187 
188 Q_DECLARE_OPERATORS_FOR_FLAGS(EngSaS::AvailableActions)
189 
190 #endif // EGLOBAL_H
QList< ESpreadsheet * > Spreadsheets
A type to replace QList with a shorter name.
Definition: eglobal.h:172
QList< EModuleListWidgetItem * > ModuleListWidgetItems
A type to replace QList with a shorter name.
Definition: eglobal.h:168
A spreadsheet, within a spreadsheet file.A spreadsheet consists of cells of type ESpreadsheetCell, which are ordered in rows and columns. An object of this type can be used to manipulate the hold data (see e. g. setData(ESpreadsheetCell)). To retrieve the cell content use data(int, int).
Definition: espreadsheet.h:58
Definition: eglobal.h:146
Definition: eglobal.h:183
Definition: eglobal.h:126
Definition: eglobal.h:182
Some definitions, used along LibEngsas.
Definition: eglobal.h:121
Definition: eglobal.h:138
A person, which should be mentioned at the EAboutDialog.
Definition: eaboutperson.h:30
Definition: eglobal.h:143
Definition: eglobal.h:140
Represents one command line argument or option.
Definition: ecmdlineoption.h:37
Definition: eglobal.h:141
Definition: eglobal.h:147
FileFilter
Used to define the filters for file endings should be for loading or saving.
Definition: eglobal.h:125
A QListWidgetItem to handle information about a plugin.
Definition: emodulelistwidgetitem.h:45
Definition: eglobal.h:145
Definition: eglobal.h:137
Definition: eglobal.h:139
Definition: eglobal.h:127
Definition: eglobal.h:142
QList< EAboutPerson * > AboutPersons
A type to replace QList with a shorter name.
Definition: eglobal.h:160
DatabaseType
Choose the type of the used database.
Definition: eglobal.h:181
An object to group ESetupWizardWidgets.
Definition: esetupwizardobject.h:31
Definition: eglobal.h:144
AvailableAction
Used to identify enabled standard actions of EMainWindow for active EWidget. The explizit definition ...
Definition: eglobal.h:135
QList< ESetupWizardObject * > SetupWizardObjects
A type to replace QList with a shorter name.
Definition: eglobal.h:164
QList< ECmdLineOption * > CmdLineOptions
A type to replacce QList with a shorter name.
Definition: eglobal.h:156