ODIN
odindialog_new.h
1 /***************************************************************************
2  odindialog_new.h - description
3  -------------------
4  begin : Mon Oct 10 21:30:11 CEST 2005
5  copyright : (C) 2000-2021 by Thies H. Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef ODINDIALOG_NEW_H
19 #define ODINDIALOG_NEW_H
20 
21 #include <qobject.h>
22 
23 #include <odinqt/ldrwidget.h>
24 
25 
26 
27 class NewMethDialog : public QObject, public GuiDialog {
28  Q_OBJECT
29 
30  public:
31  NewMethDialog(QWidget *parent, LDRblock& files);
32  ~NewMethDialog();
33 
34  public:
35  void updateWidget();
36 
37  signals:
38  void valueChanged();
39 
40 
41  private slots:
42  void done();
43  void cancel();
44  void emit_valueChanged();
45 
46  private:
47 
48  GuiGridLayout* grid;
49  GuiButton* pb_done;
50  GuiButton* pb_cancel;
51  LDRwidget* fileswidget;
52 };
53 
54 
55 
56 #endif