graphic fix

This commit is contained in:
2023-10-29 20:03:46 +03:00
parent 0cf8136757
commit 4aa4c56a35
3 changed files with 38 additions and 18 deletions

View File

@@ -40,6 +40,8 @@ struct QAD_GRAPHIC_EXPORT GraphicType {
double width = 0.,
bool visible_ = true);
void removeData();
bool init();
void destroy();
//~GraphicType() {delete pb;}
QString name;
QPolygonF polyline;
@@ -54,7 +56,7 @@ struct QAD_GRAPHIC_EXPORT GraphicType {
double pointWidth;
double max_x;
double max_x_pause;
QCheckBox * pb;
QCheckBox * pb = nullptr;
QIcon icon;
bool visible;
QRectF cvrect;