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 'privilege.ui'
**
** Created: Fri May 4 10:57:32 2001
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef PRIVILEGE_H
#define PRIVILEGE_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;
class QRadioButton;
class QTabWidget;
class QCheckListItem;
#include <mysql.h>
class Privilege : public QWidget
{
Q_OBJECT
public:
Privilege(MYSQL *, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~Privilege();
QPushButton* close;
QPushButton* fire;
QTabWidget* TabWidget2;
QWidget* tab;
QButtonGroup* ButtonGroup1;
QRadioButton* revoke;
QRadioButton* grant;
QWidget* tab_2;
QButtonGroup* ButtonGroup11;
QLabel* TextLabel2;
QLabel* TextLabel3;
QLabel* TextLabel4_2;
QLabel* TextLabel5_2;
//QLineEdit* host;
QComboBox* host;
//QLineEdit* user;
QComboBox* user;
QComboBox* database;
QComboBox* table;
QWidget* tab_3;
QButtonGroup* ButtonGroup2_2;
QCheckBox* choose;
QListView* privilege;
QCheckListItem* select;
QCheckListItem* insert;
QCheckListItem* update;
QCheckListItem* delete_;
QCheckListItem* references;
QCheckListItem* usage;
QCheckListItem* index;
QCheckListItem* alter;
QCheckListItem* create;
QCheckListItem* drop;
QCheckListItem* reload;
QCheckListItem* shutdown;
QCheckListItem* process;
QCheckListItem* file;
QCheckListItem* grant_;
protected:
QVBoxLayout* tabLayout;
QVBoxLayout* tabLayout_2;
QVBoxLayout* tabLayout_3;
private:
void signal_connect();
MYSQL *mysql;
signals:
void signal_error();
private slots:
void slot_fire();
void slot_close();
void slot_choose();
void slot_table();
void slot_host();
void slot_user();
public slots:
void slot_database();
};
#endif // PRIVILEGE_H
|