摘要: Qt学习笔记,设置QTabWidget的TabBar的属性 ui->tabWidget->setStyleSheet("QTabBar::tab { height: 25px; width:25px;color: white; padding: 0px;}" "QTabBar::tab:selected { background: lightgray; } "); 阅读全文
posted @ 2011-10-10 21:15 Podevor 阅读(1705) 评论(0) 推荐(0)
摘要: #include <QtCore/QCoreApplication>#include <QDebug>#include <QtCore>QStringList names;QStringList nodes1;QStringList nodes2;QList<QStringList> nodeslist;int getName(QString &name, int idx);int getNode(QString &node, int idx1, int idx2);int main(int argc, char *argv[]) 阅读全文
posted @ 2011-10-10 21:06 Podevor 阅读(148) 评论(0) 推荐(0)
摘要: 为什么蛋,不解释!!!!!!!!!!!!!!!!#include <QtCore/QCoreApplication>#include <QDebug>int changeName(QString &name);int main(int argc, char *argv[]){ QCoreApplication a(argc, argv); QString name = "name"; changeName(name); qDebug() << name; return a.exec();}int changeName(QStrin 阅读全文
posted @ 2011-10-10 19:50 Podevor 阅读(123) 评论(0) 推荐(0)