摘要:
#include "qtreewighthelper.h" QTreeWidgetItem* AddQTreeWidgetItemChild(QTreeWidgetItem* parentSource, QString childSource, QIcon iconSource, int type) 阅读全文
摘要:
void QLadderDiagramItem::GetMainForm(DoType sourceType){ for each (QWidget *w in qApp->topLevelWidgets()) { if (Shell* helpEvent = qobject_cast<Shell* 阅读全文
摘要:
1、{ ui->treeWidget->setHeaderHidden(true); ui->treeWidget->clear(); QTreeWidgetItem *imageItem1 = new QTreeWidgetItem(ui->treeWidget, QStringList(QStr 阅读全文
摘要:
QString("%1").arg(g_PrjMg.m_Param.stRunParaSet.wWDTTimer) ///站号参数 model = new QStandardItemModel(ui->tableView_Tab8); model->setColumnCount(3); model- 阅读全文
摘要:
//修改站号void CDlgParamView::OnPushButton_2_Tab8Clicked(){ // int iSel = m_listStation.GetSelectionMark(); int iSel = ui->tableView_Tab8->currentIndex(). 阅读全文
摘要:
1、setWindowTitle(MotorCS2QS(m_strWndText)); 2、#include <afx.h> 3、 protected: virtual void accept(); void showEvent(QShowEvent *); static void WINAPI W 阅读全文
摘要:
/************************************************************ FileName: datatype.h Platform: ARM 32-bit Version: 1.0 Date: 2009-09-24 Description: 统一数 阅读全文
摘要:
inline QString MotorCS2QS(CString cs) { return QString::fromWCharArray((LPCTSTR)cs, cs.GetLength()); }inline CString MotorQS2CS(QString qs){QByteArray 阅读全文
摘要:
1、函数申明与定义 CString DblToStr(float fltVal); class CADODatabase{public: enum cadoConnectModeEnum } CString DblToStr(float fltVal){ CString strRet = _T("" 阅读全文