Go to the documentation of this file.00001 #ifndef COLUMNLIST_H
00002 #define COLUMNLIST_H
00003
00004 #include <QListWidget>
00005 #include <QtSql>
00006 class ColumnList : public QListWidget
00007 {
00008 Q_OBJECT
00009 public:
00010 explicit ColumnList(QWidget *parent = 0);
00011 QSqlDatabase db;
00012 QString tableName;
00013 QString dbName;
00014 void loadColumns();
00015 signals:
00016 void objectDoubleClicked(QString, QString, QString);
00017 private:
00018 QIcon ico_col;
00019 QIcon ico_key;
00020 private slots:
00021 void doubleC(QListWidgetItem *item);
00022 };
00023
00024 #endif // COLUMNLIST_H