refined property editor
This commit is contained in:
parent
7723113fe8
commit
67b499d961
|
|
@ -66,8 +66,12 @@ private:
|
|||
virtual void updateHandles() override;
|
||||
|
||||
QRectF m_lastBoudingRect;
|
||||
double m_dRatioX;
|
||||
double m_dRatioY;
|
||||
Q_PROPERTY_VAR(QRectF, m_lastBoudingRectF);
|
||||
Q_PROPERTY_VAR(QPointF, m_lastBoudingPointF);
|
||||
Q_PROPERTY_VAR(double, m_dRatioX);
|
||||
Q_PROPERTY_VAR(double, m_dRatioY);
|
||||
// double m_dRatioX;
|
||||
// double m_dRatioY;
|
||||
};
|
||||
|
||||
#endif // GRAPHICSBUSSECTIONITEM_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>CMainWindow</class>
|
||||
<widget class="QMainWindow" name="CMainWindow">
|
||||
<widget class="QMainWindow" name="mainWindow">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
|
|
|||
Loading…
Reference in New Issue