CS2QS】的更多相关文章

inline QString MotorCS2QS(CString cs) { return QString::fromWCharArray((LPCTSTR)cs, cs.GetLength()); }inline CString MotorQS2CS(QString qs){QByteArray cdata = qs.toLocal8Bit();return CString(cdata);} char * TcharToChar(const TCHAR * tchar){ //char *…
QString("%1").arg(g_PrjMg.m_Param.stRunParaSet.wWDTTimer) ///站号参数 model = new QStandardItemModel(ui->tableView_Tab8); model->setColumnCount(3); model->setHeaderData(0, Qt::Horizontal, "站号"); model->setHeaderData(1, Qt::Hori…
//修改站号void CDlgParamView::OnPushButton_2_Tab8Clicked(){ // int iSel = m_listStation.GetSelectionMark(); int iSel = ui->tableView_Tab8->currentIndex().row(); if (iSel < 0) { AfxMessageBox(_T("请选择站号!"), MB_ICONWARNING); } CString strNum =…