1 /*****************************************************************************
2 ** QNapi
3 ** Copyright (C) 2008-2017 Piotr Krzemiński <pio.krzeminski@gmail.com>
4 **
5 ** This program is free software; you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License as published by
7 ** the Free Software Foundation; either version 2 of the License, or
8 ** (at your option) any later version.
9 **
10 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12 **
13 *****************************************************************************/
14 
15 #ifndef __FRMNAPIPROJEKTCONFIG__H__
16 #define __FRMNAPIPROJEKTCONFIG__H__
17 
18 #include <QDialog>
19 #include "config/engineconfig.h"
20 
21 #include "ui_frmnapiprojektconfig.h"
22 
23 class frmNapiProjektConfig : public QDialog {
24   Q_OBJECT
25 
26  public:
27   frmNapiProjektConfig(const EngineConfig &config, QWidget *parent = 0,
28                        Qt::WindowFlags f = 0);
~frmNapiProjektConfig()29   ~frmNapiProjektConfig() {}
30 
31   EngineConfig getConfig() const;
32 
33  public slots:
34 
35   void accept();
36   void pbRegisterClicked();
37 
38  private:
39   Ui::frmNapiProjektConfig ui;
40   EngineConfig config;
41 };
42 
43 #endif
44