三味的小站

QGraphicsItem使用

//重写虚函数 QRectF boundingRect() const;//预计绘制的区域 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget /* = 0 */);//绘制 QR

三味线 Published on 2018-04-18

QDomDocument读取XML

MyXmlReader::MyXmlReader(QWidget *parent) : QDialog(parent) { ui.setupUi(this); connect(ui.openBtn, SIGNAL(clicked()), this, SLOT(openFile

三味线 Published on 2018-04-18
Previous Next