mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 16:50:53 +01:00
handle drag and drop of text (html work to)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2585 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -76,7 +76,7 @@ class DiagramView : public QGraphicsView {
|
||||
void editText();
|
||||
void addImage();
|
||||
void editImage();
|
||||
IndependentTextItem *addDiagramTextAtPos(const QPointF &);
|
||||
IndependentTextItem *addDiagramTextAtPos(const QPointF &, const QString text = 0);
|
||||
DiagramImageItem *addDiagramImageAtPos(const QPointF &);
|
||||
|
||||
protected:
|
||||
@@ -102,6 +102,7 @@ class DiagramView : public QGraphicsView {
|
||||
void dropEvent(QDropEvent *);
|
||||
void handleElementDrop(QDropEvent *);
|
||||
void handleTitleBlockDrop(QDropEvent *);
|
||||
void handleTextDrop(QDropEvent *);
|
||||
QRectF viewedSceneRect() const;
|
||||
bool mustIntegrateElement(const ElementsLocation &) const;
|
||||
bool mustIntegrateTitleBlockTemplate(const TitleBlockTemplateLocation &) const;
|
||||
|
||||
Reference in New Issue
Block a user