setupasso.h
来自「跨平台,多数据库查看编辑和查询工具,平台支持windows,linux,数据库支」· C头文件 代码 · 共 35 行
H
35 行
#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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?