⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setupasso.h

📁 跨平台,多数据库查看编辑和查询工具,平台支持windows,linux,数据库支持oracle,odbc,mysql,slite等
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -