summaryrefslogtreecommitdiffstats
path: root/Tools/QtBiomeVisualiser/GeneratorSetup.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/QtBiomeVisualiser/GeneratorSetup.h')
-rw-r--r--Tools/QtBiomeVisualiser/GeneratorSetup.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/Tools/QtBiomeVisualiser/GeneratorSetup.h b/Tools/QtBiomeVisualiser/GeneratorSetup.h
index e72d3abbc..168ee3758 100644
--- a/Tools/QtBiomeVisualiser/GeneratorSetup.h
+++ b/Tools/QtBiomeVisualiser/GeneratorSetup.h
@@ -17,34 +17,33 @@ typedef std::shared_ptr<cIniFile> cIniFilePtr;
-class GeneratorSetup :
- public QWidget
+class GeneratorSetup : public QWidget
{
typedef QWidget super;
Q_OBJECT
-public:
+ public:
/** Creates the widget and loads the contents of the INI file, if not empty. */
explicit GeneratorSetup(const std::string & a_IniFileName, QWidget * parent = nullptr);
/** Returns the cIniFile instance that is being edited by this widget. */
cIniFilePtr getIniFile() { return m_IniFile; }
-signals:
+ signals:
/** Emitted when the generator parameters have changed. */
void generatorUpdated();
-public slots:
+ public slots:
/** Called when the user selects a different generator from the top combobox.
Re-creates m_IniFile and updates the form layout. */
void generatorChanged(const QString & a_NewName);
-protected slots:
+ protected slots:
/** Called when any of the edit widgets are changed. */
void editChanged(const QString & a_NewValue);
-protected:
+ protected:
QComboBox * m_cbGenerator;
QLineEdit * m_eSeed;
QVBoxLayout * m_MainLayout;
@@ -58,7 +57,3 @@ protected:
/** Updates the form layout with the values from m_IniFile. */
void updateFromIni();
};
-
-
-
-