#ifndef NAME_DIALOG_H #define NAME_DIALOG_H #include #include #include #include #include #include namespace display { class NameDialog : public QDialog { QLineEdit *edit = nullptr; domain::ComponentInstance *componentInstance = nullptr; domain::BusInstance *busInstance = nullptr; public: NameDialog(domain::ComponentInstance *instance); NameDialog(domain::BusInstance *instance); public slots: void onNameChange(); }; } #endif //NAME_DIALOG_H