mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-13 05:10:04 +02:00
Merge branch 'terminal_strip'
* terminal_strip: Terminal strip item can saved / loaded to .qet file See previous commit... Move terminal strip drawer class in is own file Fix wrong use of QStringLiteral and QLatin1String Double click a TerminalStripItem open the editor Minor change about checkable QAction of QetDiagramEditor Minor : corrects a minor aesthetic defect when unbridge terminals Revamp code Add and move terminal strip item are now managed by undo command TerminalStripItem : Draw terminal bridge Terminal strip item can be added to diagram Minor : add QGIUtility namespace
This commit is contained in:
@@ -17,11 +17,18 @@
|
||||
*/
|
||||
#ifndef QGRAPHICSITEMUTILITY_H
|
||||
#define QGRAPHICSITEMUTILITY_H
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
class QGraphicsItem;
|
||||
class Element;
|
||||
class QPainter;
|
||||
|
||||
bool centerToParentBottom (QGraphicsItem *item);
|
||||
bool centerToBottomDiagram (QGraphicsItem *item_to_center, Element *element_to_follow, qreal offset = 0 );
|
||||
namespace QGIUtility
|
||||
{
|
||||
bool centerToParentBottom (QGraphicsItem *item);
|
||||
bool centerToBottomDiagram (QGraphicsItem *item_to_center, Element *element_to_follow, qreal offset = 0 );
|
||||
void drawBoundingRectSelection(QGraphicsItem *item, QPainter *painter);
|
||||
}
|
||||
|
||||
#endif // QGRAPHICSITEMUTILITY_H
|
||||
|
||||
Reference in New Issue
Block a user