refs #273, own settings component (GUI)

This commit is contained in:
Klaus Basan
2014-06-27 01:48:38 +02:00
parent 9afe8b0f8b
commit 33315dc0e1
5 changed files with 219 additions and 11 deletions

View File

@@ -0,0 +1,38 @@
#ifndef BLACKGUI_SETTINGSSIMULATORCOMPONENT_H
#define BLACKGUI_SETTINGSSIMULATORCOMPONENT_H
#include "runtimebasedcomponent.h"
#include <QFrame>
namespace Ui { class CSettingsSimulatorComponent; }
namespace BlackGui
{
/*!
* All simulator settings component (GUI)
*/
class CSettingsSimulatorComponent : public QFrame, public CRuntimeBasedComponent
{
Q_OBJECT
public:
//! Constructor
explicit CSettingsSimulatorComponent(QWidget *parent = nullptr);
//! Destructor
~CSettingsSimulatorComponent();
protected:
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet()
virtual void runtimeHasBeenSet() override;
private slots:
//! Driver changed
void driverHasChanged(int index);
private:
Ui::CSettingsSimulatorComponent *ui; //!< UI
};
} // namespace
#endif // guard