1 #ifndef NODESHAPEDIALOG_H 2 #define NODESHAPEDIALOG_H 4 #include <tulip/tulipconf.h> 16 class TLP_QT_SCOPE ShapeDialog :
public QDialog {
21 QString _selectedShapeName;
22 std::list<std::pair<QString, QPixmap>> shapes;
25 ShapeDialog(std::list<std::pair<QString, QPixmap>> &nodeShapes, QWidget *parent =
nullptr);
26 ~ShapeDialog()
override;
28 QString getSelectedShapeName()
const;
30 void setSelectedShapeName(
const QString &shapeName);
32 void accept()
override;
34 void showEvent(QShowEvent *)
override;
37 void updateShapeList();