Added an EditItemDialog dummy, based on the NewItemDialog.
This commit is contained in:
@ -4,9 +4,6 @@
|
||||
#include <QItemSelection>
|
||||
#include <QMainWindow>
|
||||
|
||||
class NewItemDialog;
|
||||
class TableModel;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QUndoStack;
|
||||
@ -18,6 +15,9 @@ class MainWindow;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class GenericCore;
|
||||
class TableModel;
|
||||
class NewItemDialog;
|
||||
class EditItemDialog;
|
||||
|
||||
using namespace std;
|
||||
|
||||
@ -46,6 +46,7 @@ class MainWindow : public QMainWindow {
|
||||
|
||||
/// slots for menu actions
|
||||
void openNewItemDialog();
|
||||
void openEditItemDialog();
|
||||
void deleteSelectedtItems();
|
||||
|
||||
void onCleanStateChanged(bool clean);
|
||||
@ -83,6 +84,7 @@ class MainWindow : public QMainWindow {
|
||||
|
||||
/// Dialogs
|
||||
unique_ptr<NewItemDialog> m_newItemDialog;
|
||||
unique_ptr<EditItemDialog> m_editItemDialog;
|
||||
|
||||
/// Setup functions
|
||||
void createActions();
|
||||
|
||||
Reference in New Issue
Block a user