📄 mainform.ui.h
字号:
/****************************************************************************** ui.h extension file, included from the uic-generated form implementation.**** If you wish to add, delete or rename functions or slots use** Qt Designer which will update this file, preserving your code. Create an** init() function in place of a constructor, and a destroy() function in** place of a destructor.*****************************************************************************/#include ".ui/productInfo.h"#include ".ui/Mainform.h"#include ".ui/logform.h"#include ".ui/setupform.h"#include ".ui/cataform.h"#include ".ui/providerform.h"#include ".ui/employeeform.h"#include ".ui/saleform.h"#include ".ui/instockform.h"#include ".ui/instockbackform.h"#include ".ui/salebackform.h"#include ".ui/aboutform.h"#include ".ui/grantform.h"#include ".ui/stocksearchform.h"#include <qlabel.h>/* 780*480 user client */void Form1::ProductSlot(){ Form2 *fm = new Form2(ws, 0, WDestructiveClose); fm->showMaximized();}void Form1::logSlot(){ logForm *fm = new logForm(ws, 0, WDestructiveClose); fm->showMaximized();}void Form1::setupSlot(){ setupForm *fm = new setupForm(ws, 0, WDestructiveClose); fm->showMaximized();}void Form1::providerSlot(){ providerForm *fm = new providerForm(ws, 0, 0, WDestructiveClose); fm->showMaximized();}void Form1::employeeSlot(){ employeeForm *fm = new employeeForm(ws, 0, 0, WDestructiveClose); fm->showMaximized();}void Form1::instockSlot(){ instockForm *fm = new instockForm(ws, 0, 0, WDestructiveClose); fm->showMaximized();}void Form1::instockbackSlot(){ instockbackForm *fm = new instockbackForm(ws, 0, 0, WDestructiveClose); fm->showMaximized();}void Form1::instocksearchSlot(){}void Form1::salesSlot(){ saleForm *fm = new saleForm(ws, 0, 0, WDestructiveClose); fm->showMaximized();// fm->lineEdit1->setFocus();}void Form1::salesbackSlot(){ salebackForm *fm = new salebackForm(ws, 0, 0, WDestructiveClose); fm->showMaximized();}void Form1::salessearchSlot(){}void Form1::stockSlot(){}void Form1::stocksearchSlot(){ stocksearchForm *fm = new stocksearchForm(ws, 0, 0, WDestructiveClose); fm->showMaximized();}void Form1::helpSlot(){}void Form1::aboutSlot(){ aboutForm *fm = new aboutForm(0, 0, 0, WDestructiveClose); fm->show();}void Form1::grantSlot(){ grantForm *fm = new grantForm(ws, 0, 0, WDestructiveClose); fm->showMaximized();}void Form1::cataSlot(){ cataForm *fm = new cataForm(ws, 0, 0, WDestructiveClose); fm->showMaximized();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -