add QSettings for config parsing

This commit is contained in:
Anika Raemer 2021-09-25 15:11:02 +02:00
parent f9af4c662a
commit 893a2990af
5 changed files with 71 additions and 31 deletions

View file

@ -20,6 +20,23 @@ signals:
void sourceChanged();
public:
/**
* @brief Provides the possibility to configure UI according to profile.
*/
enum EProfile : uint{
/**
* @brief Profile designed for running LenaPi as window manager on Raspberry Pi Touch
*
* Start fullscreen and do NOT show close button or volume controls
*/
Profile_RasPiTouch = 0,
/**
* @brief Profiled designed for running LenaPi as a desktop app.
*
* Start fullscreen, show close button and volume controls.
*/
Profile_Desktop
};
explicit UiStateModel(QObject *parent = nullptr);
QUrl getSource() const;