Major reorganization of the project files

FossilOrigin-Name: 821239471319fdd5d530f54b7f67f473dcf7bd8e
This commit is contained in:
kostas
2012-05-13 03:40:24 +00:00
parent d8c9ba062b
commit d1f28461ee
183 changed files with 235 additions and 235 deletions

38
src/FileActionDialog.h Normal file
View File

@@ -0,0 +1,38 @@
#ifndef FILEACTIONDIALOG_H
#define FILEACTIONDIALOG_H
#include <QDialog>
#include <QStandardItemModel>
#include <QDialogButtonBox>
namespace Ui {
class FileActionDialog;
}
class FileActionDialog : public QDialog
{
Q_OBJECT
public:
explicit FileActionDialog(QWidget *parent, const QString &title, const QString &message, const QStringList &listData, const QString &checkBoxText=QString(), bool *checkBoxResult=0);
~FileActionDialog();
static bool run(QWidget *parent, const QString &title, const QString &message, const QStringList &listData, const QString &checkBoxText=QString(), bool *checkBoxResult=0);
typedef QDialogButtonBox::StandardButton StandardButton;
typedef QDialogButtonBox::StandardButtons StandardButtons;
static StandardButton runStandardButtons(QWidget *parent, StandardButtons, const QString &title, const QString &message, const QStringList &listData);
private slots:
void on_buttonBox_clicked(QAbstractButton *button);
private:
Ui::FileActionDialog *ui;
QStandardItemModel itemModel;
class QCheckBox *checkBox;
bool *checkBoxResult;
StandardButton clickedButton;
};
#endif // FILEACTIONDIALOG_H