1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
/****************************************************************************
** Form interface generated from reading ui file 'table.ui'
**
** Created: Fri May 18 18:29:04 2001
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef TABLE_H
#define TABLE_H
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QButtonGroup;
class QCheckBox;
class QComboBox;
class QLabel;
class QLineEdit;
class QListView;
class QListViewItem;
class QPushButton;
#include <mysql.h>
class Table : public QWidget
{
Q_OBJECT
public:
Table(MYSQL *mysql, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~Table();
QPushButton* up;
QPushButton* drop;
QPushButton* save;
QPushButton* _new;
QButtonGroup* ButtonGroup1;
QLabel* TextLabel1;
QLabel* TextLabel2;
QLabel* TextLabel3;
QLineEdit* comment;
QLineEdit* table;
QComboBox* database;
QListView* fields;
QPushButton* down;
QPushButton* fire;
QPushButton* close;
QPushButton* clear;
QButtonGroup* ButtonGroup2;
QLabel* TextLabel4;
QLabel* TextLabel5;
QLabel* TextLabel8;
QLabel* TextLabel9;
QLabel* TextLabel10;
QLineEdit* field;
QComboBox* type;
QLineEdit* length;
QComboBox* binary;
QComboBox* null;
QLineEdit* _default;
QComboBox* extra;
QCheckBox* primary;
QCheckBox* index;
QCheckBox* unique;
QLabel* TextLabel6;
QLabel* TextLabel11;
QLabel* TextLabel1_2;
public slots:
void slot_database();
void slot_field(QListViewItem *);
private:
MYSQL *mysql;
void signal_connect();
QListViewItem *get_last();
QString get_length(QString);
int get_type(QString);
public slots:
void slot_close();
void slot_about();
void slot_fire();
void slot_clear();
private slots:
void slot_new();
void slot_save();
void slot_drop();
void slot_up();
void slot_down();
public slots:
void slot_current_database(const QString &);
signals:
void signal_error();
void signal_schema();
};
#endif // TABLE_H
|