summaryrefslogtreecommitdiffstats
path: root/Tools/QtBiomeVisualiser/GeneratorSetup.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-22 21:51:59 +0200
committermadmaxoft <github@xoft.cz>2014-09-22 21:52:38 +0200
commit83588fb0aad5c8597df783792c946c27327f1a40 (patch)
tree986aac86163c6ccc380886480c8c277f17d68742 /Tools/QtBiomeVisualiser/GeneratorSetup.h
parentQtBiomeVisualiser: generator source is read from generator setup ini. (diff)
downloadcuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.gz
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.bz2
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.lz
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.xz
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.zst
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.zip
Diffstat (limited to '')
-rw-r--r--Tools/QtBiomeVisualiser/GeneratorSetup.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tools/QtBiomeVisualiser/GeneratorSetup.h b/Tools/QtBiomeVisualiser/GeneratorSetup.h
index 0594e1998..e72d3abbc 100644
--- a/Tools/QtBiomeVisualiser/GeneratorSetup.h
+++ b/Tools/QtBiomeVisualiser/GeneratorSetup.h
@@ -32,14 +32,21 @@ public:
cIniFilePtr getIniFile() { return m_IniFile; }
signals:
+ /** Emitted when the generator parameters have changed. */
+ void generatorUpdated();
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:
+ /** Called when any of the edit widgets are changed. */
+ void editChanged(const QString & a_NewValue);
+
protected:
QComboBox * m_cbGenerator;
+ QLineEdit * m_eSeed;
QVBoxLayout * m_MainLayout;
QFormLayout * m_FormLayout;