16#ifndef DIALOGEDGEEDIT_H
17#define DIALOGEDGEEDIT_H
39 const QHash<QString,QString> &customAttributes = QHash<QString,QString>());
52 const QHash<QString,QString> &customAttributes);
55 Ui::DialogEdgeEdit *
ui;
Definition dialogedgeedit.h:30
void getUserChoices()
Collects all field values and emits userChoices().
Definition dialogedgeedit.cpp:153
QString m_label
Definition dialogedgeedit.h:57
void on_removePropertyBtn_clicked()
Removes the selected row from the attributes table.
Definition dialogedgeedit.cpp:139
void userChoices(const QString &label, const double &weight, const QColor &color, const QHash< QString, QString > &customAttributes)
QColor m_color
Definition dialogedgeedit.h:59
QPixmap m_pixmap
Definition dialogedgeedit.h:61
void selectColor()
Opens a color picker and updates the color button icon.
Definition dialogedgeedit.cpp:91
int m_v1
Definition dialogedgeedit.h:56
double m_weight
Definition dialogedgeedit.h:58
QHash< QString, QString > m_customAttributes
Definition dialogedgeedit.h:60
void on_addPropertyBtn_clicked()
Adds a key/value pair from the input fields to the attributes table.
Definition dialogedgeedit.cpp:104
~DialogEdgeEdit()
Definition dialogedgeedit.cpp:83
Ui::DialogEdgeEdit * ui
Definition dialogedgeedit.h:55
int m_v2
Definition dialogedgeedit.h:56
Definition dialogedgeedit.h:25