22 #ifndef PROPERTYCREATIONDIALOG_H 23 #define PROPERTYCREATIONDIALOG_H 27 #include <tulip/tulipconf.h> 30 class PropertyCreationDialog;
35 class PropertyInterface;
50 class TLP_QT_SCOPE PropertyCreationDialog :
public QDialog {
57 explicit PropertyCreationDialog(QWidget *parent = NULL);
61 explicit PropertyCreationDialog(
tlp::Graph* graph,QWidget *parent = NULL,
62 const std::string& selectedType =
"");
63 ~PropertyCreationDialog();
88 return _createdProperty;
98 static PropertyInterface* createNewProperty(
tlp::Graph* graph,
100 const std::string& selectedType =
"");
102 void checkValidity();
106 Ui::PropertyCreationDialog *ui;
107 QPushButton* _createPropertyButton;
109 PropertyInterface* _createdProperty;
113 #endif // PROPERTYCREATIONDIALOG_H
PropertyInterface describes the interface of a graph property.