00001
00002
00003
00004
00005
00006
00007
00008 #ifndef INDEXDIALOG_H
00009 #define INDEXDIALOG_H
00010
00011 #include <qwidget.h>
00012
00013 #include "ui_createindexdialog.h"
00014
00015
00019 class CreateIndexDialog : public QDialog
00020 {
00021 Q_OBJECT
00022
00023 public:
00029 CreateIndexDialog(const QString & tabName, const QString & schema, QWidget * parent = 0);
00030 ~CreateIndexDialog(){};
00031
00032 bool update;
00033
00034 private:
00035 Ui::CreateIndexDialog ui;
00036 QString m_schema;
00037
00038 void checkToEnable();
00039
00040 private slots:
00041 void tableColumns_itemChanged(QTableWidgetItem* item);
00042 void indexNameEdit_textChanged(const QString & text);
00044 void createButton_clicked();
00045
00046 };
00047
00048 #endif