1 Star 0 Fork 2

尘年灬往事 / smart-community

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
base_manage_widget.h 708 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef BASEMANAGEWIDGET_H
#define BASEMANAGEWIDGET_H
#include <QWidget>
#include <QPushButton>
#include <QVBoxLayout>
#include <QTableView>
#include <QSqlQueryModel>
class BaseManageWidget : public QWidget
{
Q_OBJECT
public:
explicit BaseManageWidget(QWidget *parent = 0);
~BaseManageWidget();
protected:
QPushButton* b_btn_1;
QPushButton* b_btn_2;
QPushButton* b_btn_3;
QTableView* tableView;
QVBoxLayout* layout;
QHBoxLayout* b_layout;
QSqlQueryModel* q_model;
void init();
void load(const QString &queryStr);
void setMajorKey(QString &key);
protected slots:
void add();
void edit();
void detail();
};
#endif // BASEMANAGEWIDGET_H
1
https://gitee.com/mikema_138/smart-community.git
git@gitee.com:mikema_138/smart-community.git
mikema_138
smart-community
smart-community
master

搜索帮助