代码拉取完成,页面将自动刷新
#ifndef MAINBUSINESSQUERYHISWIDGET_H
#define MAINBUSINESSQUERYHISWIDGET_H
#include <QWidget>
#include <qstandarditemmodel.h>
#include <qabstractitemmodel.h>
#include <string.h>
#include <qtableview.h>
#include <qheaderview.h>
#include <qgridlayout.h>
#include <QHBoxLayout>
#include <QLabel>
#include <QComboBox>
#include <QPushButton>
#include <QCheckBox>
#include <QRadioButton>
#include <QDateEdit>
#include <QMenu>
#include <QAction>
#include<QEvent>
#include"CtpInterface/ThostFtdcUserApiStruct.h"
class MainBusinessQueryHisWidget : public QWidget
{
Q_OBJECT
public:
explicit MainBusinessQueryHisWidget(QWidget *parent = 0);
void AddRow(CThostFtdcTradeField *pTrade);
bool eventFilter(QObject *obj, QEvent *event);
QString GetStartDate();
QString GetEndDate();
signals:
void ReqQryTrade(QString strAccountID);
void SigkeyPressEvent(QKeyEvent*);
public slots:
void radioBtnSlot1();
void radioBtnSlot2();
void QueryButtonClicked();
void QueryHisStateChanged(int state);
///邮件弹出菜单响应函数
void RightClickedMenuPop(const QPoint& pos);
public:
void setupModel();
void setupViews();
//void ShowTradeDetails(CThostFtdcTradeField *pTrade);
public:
QTableView* m_tableBusinessQueryHis;
QAbstractItemModel* m_modelBusinessQueryHis;
QAbstractItemModel* m_modelBusinessQueryHisDetails;
QComboBox* m_accountCombox;
private:
QItemSelectionModel* selectionModel;
QGridLayout* MainLayout;
QHBoxLayout* hboxlayout,*hboxlayout1;
QHBoxLayout* m_DateBoxLayout;
QPushButton* m_querybutton;
QPushButton* m_exportbutton;
QRadioButton* m_RadioButton2;
QRadioButton* m_RadioButton1;
QCheckBox* m_QueryHisCheckbox;
QDateEdit* m_StartDate;
QDateEdit* m_EndDate;
QLabel* m_StartLabel;
QLabel* m_EndLabel;
QMenu* m_RightPopMenu;
};
#endif // MAINBUSINESSQUERYHISWIDGET_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。