?? setupasso.h
字號(hào):
#ifndef MANAGERDIALOG_H
#define MANAGERDIALOG_H
#include <QtGui>
#include <QtSql>
#include "tableview.h"
#include "mysqltablemodel.h"
class SetupAsso : public QDialog
{
Q_OBJECT
public:
SetupAsso(QSqlDatabase *gdb,int cid,QString tn,QString fn,QWidget *parent=0);
~SetupAsso();
signals:
public slots:
void onOk();
private slots:
void onTableChange(const QString &tname);
private:
QSqlDatabase *global_db;
int connection_id;
QString table_name;
QString field_name;
QString assoTableName;
QString assoFieldName;
QString assoFieldDisplay;
QComboBox *comboAssoTable,
*comboAssoColumn,
*comboAssoDisplay;
};
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -