3 ms·
These file dialogs are not for mobile! But it's easy to make your own ones, please see: https://gitlab.com/eql/EQL5-Android/blob/master/screenshots/REPL-file-di
by eql5 9y ago
These file dialogs are not for mobile! But it's easy to make your own ones, please see: https://gitlab.com/eql/EQL5-Android/blob/master/screenshots/REPL-file-dialog.png https://gitlab.com/eql/EQL5-Android/blob/master/screenshots/...
The above is on an android tablet; but it displays perfectly fine on phones, too. Just see the sources of the above project for implementing such a dialog:
https://gitlab.com/eql/EQL5-Android/blob/master/examples/my/qml/ext/FileBrowser.qml https://gitlab.com/eql/EQL5-Android/blob/master/examples/my/...
https://gitlab.com/eql/EQL5-Android/blob/master/examples/my/qml/ext/FileDelegate.qml https://gitlab.com/eql/EQL5-Android/blob/master/examples/my/...
- pjmlp 9y agoWhich proves you failed to understand my point, C++ Widgets don't work everywhere, only QML.
- eql5 9y agoThat depends on your screen size! But of course I would never use QWidgets on mobile, with the only exception of direct painting (using a QPainter on a plain QWidget). QML is easier anyway, and gets better with every version...
- pjmlp 9y agoNot all Qt developers are happy to be forced to use QML, which again, was my point to start with. C++ Widgets should be able to offer a mobile friendly version of themselves. Which was actually a point that was discussed for the Qt roadmap at Qt World Summit 2017.
- eql5 9y agoOK, I understand your point. Good luck, then!
- pjmlp 9y agoThanks, but actually I don't use Qt anymore, that bug and a few other ones in 5.4 lead me to use Java and C++/CX for the UI, with common business logic in C++, in a MVVM approach. The approach of re-doing in QML standard UI components is not appealing.