24 #ifndef __ENGINECONFIGBASE_H__
25 #define __ENGINECONFIGBASE_H__
27 #include "gui/configuration/configurationbasebox.h"
73 QString
title()
const;
79 void addWidget(QWidget *widget);
89 void browseForBinary(QLineEdit *input,
const QString &type);
95 QString currentCustomParameters()
const;
96 void makeClientOnly();
97 void removeStoredCustomParametersFromConfig(
const QString ¶meters);
98 void removeStoredCustomParametersFromWidget(
const QString ¶meters);
101 void browseForClientBinary();
102 void browseForServerBinary();
103 void removeCurrentCustomParametersFromStorage();
104 void saveCustomParameters();
105 void updateCustomParametersSaveState();
virtual void saveSettings()=0
Reimplement this to write settings to config from widgets.
virtual QString name() const =0
Reimplement this to return a list-displayable name for this ConfigurationBaseBox. ...
Base for configuration pages for plugins; provides some default behavior.
INI section representation.
virtual void readSettings()=0
Reimplement this to read settings from config into widgets.
virtual QIcon icon() const =0
Reimplement this to return a displayable icon for the ConfigurationBaseBox.
virtual QString title() const
Page title, by default returns the same string as name().
Base class for configuration pages.