add QSettings for config parsing
This commit is contained in:
parent
f9af4c662a
commit
893a2990af
5 changed files with 71 additions and 31 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue