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
|
/****************************************************************************
** Form interface generated from reading ui file 'find.ui'
**
** Created: Tue May 29 10:37:27 2001
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef FIND_H
#define FIND_H
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QCheckBox;
class QComboBox;
class QLabel;
class QLineEdit;
class QPushButton;
class QSpinBox;
#include <mysql.h>
#include "mdiwindow.h"
#include "multilinelistviewitem.h"
#include "querylistview.h"
class Find : public QWidget
{
Q_OBJECT
public:
Find(MYSQL *, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~Find();
QLabel* TextLabel1;
QLabel* TextLabel2;
QLabel* TextLabel3;
QPushButton* close;
QPushButton* fire;
QCheckBox* match_case;
QLabel* TextLabel1_2;
QCheckBox* match_whole;
QComboBox* database;
QComboBox* table;
QLineEdit* text;
QSpinBox* max_match;
private:
void signal_connect();
MYSQL *mysql;
int value;
int total;
MDIWindow *query;
QueryListView *sql;
int newline_number(const QString &);
void slot_row_height(QListViewItem *);
private slots:
void slot_fire();
void slot_close();
void slot_database();
void slot_table();
bool slot_find(const QString &database, const QString &table);
bool slot_find(const QString &database);
};
#endif // FIND_H
|