[qet] [2562] Call elementproperties widget |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 2562
Author: cfdev
Date: 2013-09-27 22:30:59 +0200 (Fri, 27 Sep 2013)
Log Message:
-----------
Call elementproperties widget
Modified Paths:
--------------
branches/0.4/sources/diagramview.cpp
Modified: branches/0.4/sources/diagramview.cpp
===================================================================
--- branches/0.4/sources/diagramview.cpp 2013-09-27 20:30:24 UTC (rev 2561)
+++ branches/0.4/sources/diagramview.cpp 2013-09-27 20:30:59 UTC (rev 2562)
@@ -38,8 +38,9 @@
#include "qeticons.h"
#include "qetmessagebox.h"
#include "qtextorientationspinboxwidget.h"
+#include "elementproperties.h"
+
#include <QGraphicsObject>
-
#include <QGraphicsPixmapItem>
#include <QGraphicsSceneMouseEvent>
@@ -946,7 +947,11 @@
description_string += QString(tr("Emplacement\240: %1\n")).arg(custom_element -> location().toString());
}
- // titre et boutons du dialogue
+ // create and open widget of element properties
+ elementproperties *elmtproper = new elementproperties(element);
+ elmtproper -> show();
+
+/* // titre et boutons du dialogue
QString description_title = tr("Propri\351t\351s de l'\351l\351ment s\351lectionn\351");
QPushButton *find_in_panel = new QPushButton(tr("Retrouver dans le panel"));
QPushButton *edit_element = new QPushButton(tr("\311diter l'\351l\351ment"));
@@ -977,7 +982,7 @@
if (edit_element_dialog.clickedButton() == edit_element) {
emit(findElementRequired(custom_element -> location()));
emit(editElementRequired(custom_element -> location()));
- }
+ }*/
}
/**