LibEngsas
epartmainwindow.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 
20 #ifndef EPARTMAINWINDOW_H
21 #define EPARTMAINWINDOW_H
22 
23 #include "eglobal.h"
24 #include "emainwindow.h"
25 
26 class ECmdLineArgs;
27 
28 #include "epart.h"
29 
35 {
36  Q_OBJECT
37  public:
38  EPartMainWindow(QWidget * parent = 0, Qt::WindowFlags flags = 0);
43  EPart::InitState init(EPart *part, ECmdLineArgs *args);
44 
45  protected slots:
46  void editSetupWizard();
47  void editSettings();
48  void helpDependencies();
49  void helpAbout();
50 
51  private:
53 };
54 
55 #endif // EPARTMAINWINDOW_H
virtual void editSettings()
Connect to the Settings action in Edit menu.
Definition: emainwindow.h:115
#define E_CORE_EXPORT
Definition: eglobal.h:107
InitState
Used to identify the result of the init() function.
Definition: epart.h:111
Implement this class to create an object, which can be used in several applications.
Definition: epart.h:106
Base class for mainwindows. It provides several useful functions by default.
Definition: emainwindow.h:58
EPart * part
Definition: epartmainwindow.h:52
Used as a standard main window for the standalone application of an EPart.
Definition: epartmainwindow.h:34
virtual void helpAbout()
Calls showAbout() with empty values, should therefore be implemented at your subclass.
Definition: emainwindow.cpp:304
virtual void helpDependencies()
Calls showDependencies() with a NULL-Pointer.
Definition: emainwindow.h:137
Class to handle command line arguments and options.
Definition: ecmdlineargs.h:62
virtual void editSetupWizard()
Implement this function to call showSetupWizard() properly.
Definition: emainwindow.h:107