Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+75
View File
@@ -0,0 +1,75 @@
/**
**
** @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 <LtsWidgets/lts_dialog.h>
#include <QtCore/QString>
#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