25 #include <tulip/tulipconf.h>
37 class TLP_QT_SCOPE ShapeDialog :
public QDialog {
43 QString _selectedShapeName;
44 std::list<std::pair<QString, QPixmap>> shapes;
47 ShapeDialog(
bool forNodes, QWidget *parent =
nullptr);
48 ~ShapeDialog()
override;
50 QString getSelectedShapeName()
const;
52 void setSelectedShapeName(
const QString &shapeName);
54 void accept()
override;
56 void showEvent(QShowEvent *)
override;
59 bool eventFilter(QObject *, QEvent *e)
override;
62 void updateShapeList();