⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qg_dlgcircle.ui.h

📁 qcad2.05可用于windows和linux的源码
💻 H
字号:
/****************************************************************************** ui.h extension file, included from the uic-generated form implementation.**** If you wish to add, delete or rename functions or slots use** Qt Designer which will update this file, preserving your code. Create an** init() function in place of a constructor, and a destroy() function in** place of a destructor.*****************************************************************************/void QG_DlgCircle::setCircle(RS_Circle& c) {    circle = &c;    //pen = circle->getPen();    wPen->setPen(circle->getPen(false), true, false, "Pen");    RS_Graphic* graphic = circle->getGraphic();    if (graphic!=NULL) {        cbLayer->init(*(graphic->getLayerList()), false, false);    }    RS_Layer* lay = circle->getLayer(false);    if (lay!=NULL) {        cbLayer->setLayer(*lay);    }    QString s;    s.setNum(circle->getCenter().x);    leCenterX->setText(s);    s.setNum(circle->getCenter().y);    leCenterY->setText(s);    s.setNum(circle->getRadius());    leRadius->setText(s);}void QG_DlgCircle::updateCircle() {    circle->setCenter(RS_Vector(RS_Math::eval(leCenterX->text()),                                  RS_Math::eval(leCenterY->text())));    circle->setRadius(RS_Math::eval(leRadius->text()));    circle->setPen(wPen->getPen());    circle->setLayer(cbLayer->currentText());    circle->calculateBorders();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -