consumegoodsadddialog.h
来自「一个简单的美容院商品和顾客资料管理程序」· C头文件 代码 · 共 49 行
H
49 行
/*
* =====================================================================================
*
* Filename: consumegoodsadddialog.h
*
* Description:
*
* Version: 1.0
* Created: 2006-6-25 16:52:59 中国标准时间
* Revision: none
* Compiler: gcc
*
* Author: Bai_Jianping (XChinux), XChinux@163.com
* Company:
*
* =====================================================================================
*/
#ifndef CONSUMEGOODSADDDIALOG_H
#define CONSUMEGOODSADDDIALOG_H
#include <QtGui/QDialog>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlQuery>
#include "ui_consumegoodsadddialog.h"
class ConsumeGoodsAddDialog: public QDialog, public Ui::ConsumeGoodsAddDialog
{
Q_OBJECT
public:
ConsumeGoodsAddDialog(QWidget *parent, int iConsumeId, int iCustomerId);
~ConsumeGoodsAddDialog();
int consumeId();
int customerId();
private slots:
void on_comboBoxGoodsName_currentIndexChanged(int index);
void on_spinBoxConsumeGoodsNum_valueChanged(int value);
void on_okButton_clicked();
private:
QSqlDatabase db;
QSqlQuery query;
int m_iConsumeId;
int m_iGoodsId;
int m_iCustomerId;
double m_fInPrice;
double m_fSellPrice;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?