mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Add toolbar widget for edit size of handler in diagram editor.
Add a combo box in the tool bar of diagram editor to quickly change the size of the graphics handler item. The sarto commit :D NOTE only available for diagram editor, element editor will come later.
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
|
||||
#include <QMargins>
|
||||
|
||||
class QGraphicsItem;
|
||||
|
||||
/**
|
||||
Provide some small utils function
|
||||
*/
|
||||
@@ -27,6 +29,7 @@ namespace QETUtils
|
||||
{
|
||||
QString marginsToString(const QMargins &margins);
|
||||
QMargins marginsFromString(const QString &string);
|
||||
qreal graphicsHandlerSize(QGraphicsItem *item);
|
||||
}
|
||||
|
||||
#endif // QETUTILS_H
|
||||
|
||||
Reference in New Issue
Block a user