25 #include <tulip/tulipconf.h> 37 class TLP_QT_SCOPE ShapeDialog :
public QDialog {
42 QString _selectedShapeName;
43 std::list<std::pair<QString, QPixmap>> shapes;
46 ShapeDialog(std::list<std::pair<QString, QPixmap>> &&nodeShapes, QWidget *parent =
nullptr);
47 ~ShapeDialog()
override;
49 QString getSelectedShapeName()
const;
51 void setSelectedShapeName(
const QString &shapeName);
53 void accept()
override;
55 void showEvent(QShowEvent *)
override;
58 void updateShapeList();