00001 #ifndef SELECTTABLEOFACCOUNTDIALOG_H 00002 #define SELECTTABLEOFACCOUNTDIALOG_H 00003 00004 #include <QDialog> 00005 #include "ui_SelectTableOfAccountDialog.h" 00006 #include "../Data/datadefinitions.h" 00007 class Settings; 00008 class QCloseEvent; 00009 00010 class SelectTableOfAccountDialog : public QDialog, private Ui::SelectTableOfAccount 00011 { 00012 Q_OBJECT 00013 00014 public: 00015 SelectTableOfAccountDialog(Settings &settings, QWidget *parent = 0); 00016 00017 private: 00018 Settings *settings; 00019 00020 private slots: 00021 void chooseTableOfAccounts(); 00022 void createTableOfAccount(); 00023 void sendPath(QString path); 00024 00025 signals: 00026 void tableOfAccountsChoosen(QString path); 00027 00028 protected: 00029 void closeEvent(QCloseEvent *event); 00030 }; 00031 00032 #endif // SELECTTABLEOFACCOUNTDIALOG_H