|
Cute Chess
0.1
|
The EngineConfigurationDialog class provides a dialog for chess engine configuration. More...
#include <engineconfigurationdlg.h>
Public Types | |
| enum | DialogMode { AddEngine, ConfigureEngine } |
Public Types inherited from QDialog | |
| enum | DialogCode |
Signals | |
| void | detectionFinished () |
Public Member Functions | |
| void | applyEngineInformation (const EngineConfiguration &engine) |
| EngineConfiguration | engineConfiguration () |
| EngineConfigurationDialog (DialogMode mode, QWidget *parent=nullptr) | |
| void | setReservedNames (const QSet< QString > &names) |
| virtual | ~EngineConfigurationDialog () |
The EngineConfigurationDialog class provides a dialog for chess engine configuration.
| EngineConfigurationDialog::EngineConfigurationDialog | ( | EngineConfigurationDialog::DialogMode | mode, |
| QWidget * | parent = nullptr |
||
| ) |
Creates a new engine configuration dialog with parent as parent
|
virtual |
Destroys the dialog.
| void EngineConfigurationDialog::applyEngineInformation | ( | const EngineConfiguration & | engine | ) |
Applies the information of engine to the dialog.
| EngineConfiguration EngineConfigurationDialog::engineConfiguration | ( | ) |
Returns an engine based on the information user selected.
| void EngineConfigurationDialog::setReservedNames | ( | const QSet< QString > & | names | ) |
Sets the list of names reserved for other engines.
If the user tries to use a reserved name they'll see a warning message.
1.8.11