00001 #ifndef ACCOUNTDIALOG_H 00002 #define ACCOUNTDIALOG_H 00003 00004 #include<QCloseEvent> 00005 #include "ui_AccountDialog.h" 00006 00007 class AccountDialog : public QDialog, public Ui::AccountDialog 00008 { 00009 Q_OBJECT 00010 Q_DISABLE_COPY(AccountDialog) 00011 00012 public: 00013 explicit AccountDialog(QWidget *parent = 0); 00014 00015 public slots: 00016 void recalculateSums(); 00017 00018 protected: 00019 void closeEvent(QCloseEvent *event); 00020 }; 00021 00022 #endif // ACCOUNTDIALOG_H