]> Some of my projects - aniplayer.git/commit
Implement basic settings
authorAPTX <marek321@gmail.com>
Sat, 11 Mar 2017 22:27:06 +0000 (23:27 +0100)
committerAPTX <marek321@gmail.com>
Sat, 11 Mar 2017 22:27:06 +0000 (23:27 +0100)
commit18fc23133b5480bc9a09d8893515fb8164e838b2
tree78a464e48b7db2f3af58a718695fc2f9ffa122a9
parent8b6dc70e3723df09de6765678f387c61402472e9
Implement basic settings

A ui instance gets a Settings QObject to save
whatever settings the ui wants. Currently the ui
is responsible for saving the player state.

The settings layout is very basic and will change
in the future in incompatible ways.

JS makes it difficult to read the settings properly
as all values return as strings and not their correct
type.
core/core.pro
core/include/aniplayer/uipluginbase.h
core/instancemanager.cpp
core/main.cpp
core/settings.cpp [new file with mode: 0644]
core/settings.h [new file with mode: 0644]
uiplugins/ui_desktop_qml_default/qml/PlayerControls.qml
uiplugins/ui_desktop_qml_default/qml/main.qml
uiplugins/ui_desktop_qml_default/uidesktopqmldefault.cpp
uiplugins/ui_desktop_qml_default/uidesktopqmldefault.h