/** ** ** @RDE_HEADER@ ** Do all the work for complex selection operations. ** $Id$ ** $HeadURL$ ** $Author$ ** ** ----------------------------------------------------------------------------------------------- ** ** Hardware-Environment: Intel-PC ** Software-Environment: Windows 7, Qt 5.4. ArcGIS 10.2.5 ** ** Language ........: C++ 11 ** ** ----------------------------------------------------------------------------------------------- ** ** Author ...........: Jörg Turla, SPD G, Tel. 3132 ** ** ----------------------------------------------------------------------------------------------- ** ** Notes .........: ** ** 26.06.2016, JT : First edition for use with Qt5 ** ** ----------------------------------------------------------------------------------------------- */ #pragma once #include #include #include "plan_editor_export.h" namespace PlanEditor { class PLANEDITOR_EXPORT Dialog : public LtsWidgets::LtsDialog { Q_OBJECT public: explicit Dialog( QWidget *parent , LtsWidgets::ButtonCombination buttonCombination = LtsWidgets::ButtonCombination::CloseOnly , bool closeable = true) : LtsWidgets::LtsDialog(parent, buttonCombination, closeable), m_titleString(tr("Undefined Title")) { setUnchangeable(); } // Dialog virtual ~Dialog() = default; void setTitle( const QString &title ) { m_titleString = title; } void retranslate() override; signals: void signalAboutToClose(); // informs about closing this dialog protected: void aboutToClose() override; // emit signalAboutToClose private: QString m_titleString; }; // Dialog } // namespace PlanEditor