added todos planning an imageViewer add-on
This commit is contained in:
parent
727f0cb54e
commit
50deec22f1
2 changed files with 15 additions and 1 deletions
|
|
@ -4,6 +4,21 @@
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
/**
|
||||
* @todo To add an image viewer:
|
||||
* - introduce an image context in qml -> can be switched via toggle buttons in each view
|
||||
* - introduce NavigationControllerBase with all basic functions of the current NavigationController
|
||||
* - derive MusicNavigationController and ImageNavigatioController
|
||||
* - NavigationController than holds instances of UiStateModel, ImageNavigationController and
|
||||
* MusicNavigationController.
|
||||
* - connect toggle buttons to UiStateModel
|
||||
*
|
||||
* Aim:
|
||||
* - Add an imageViewer but allow listening to Music while using it.
|
||||
* - When modifying music keep state of image viewer, keep state of player when switching to
|
||||
* imageViewer -> musicPlayer and imageViewer are independent parts of this software!
|
||||
* USE SEPARATE BRANCH FOR DEVELOPMENT!
|
||||
*/
|
||||
QGuiApplication app(argc, argv);
|
||||
QQmlApplicationEngine engine;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ bool NavigationItemModel::setPath(const QString &path)
|
|||
|
||||
mPath = path;
|
||||
|
||||
/// @todo move default image to qrc
|
||||
auto source = dir.filePath("image.jpg");
|
||||
if(QFile(source).exists()){
|
||||
mImageSource = "file:///" + source;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue