![]() MenuAction = new QAction(QIcon("image/user"), tr("User"), this) Ĭonnect(menuAction, &QAction::triggered, this, &MainWindow::UserAction) Void MainWindow::contextMenuEvent(QContextMenuEvent *event)įont.setFamily(QStringLiteral("SAO UI")) PSideDM.drawPixmap(QPoint(0, dmSideWidBKPixCache_->height()-standByPix_->height()+border), *standByPix_) P.drawRoundedRect(r.adjusted(border, border, -border, -border), 3, 3) ĭmSideWidBKPixCache_->fill(Qt::transparent) ![]() QRect r(0, 0, standByPix_->width(), standByPix_->height()) P.setBrush(QBrush(QColor(0x49545A), Qt::SolidPattern)) StandByPix_ = new QPixmap(QSize(dmSideWidSize_.width(), 60)) QString standByStr = styleStr.arg(font.pixelSize()).arg(tr("Stand By")) QDebug("Tag not Parsed at :%s\n", (const char *)elemThis.tagName()) įont.setFamily(QString("Microsoft YaHei")) for now we will just inform a debugger about it we have encountered a tag that we don't understand. If(valid & intTemp >= 1 & intTemp :%s\n", (const char *)elemThis.text()) This is where we want to convert the string to an int value QDebug("Text not Parsed at :%s\n", (const char *)elemThis.text()) QDomElement elemThis = nodeCursor.toElement() QDomNode nodeCursor = elemSource.firstChild() Bool parseReportFont(const QDomElement & elemSource, QFont & fontTarget)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |