Making desktop app with 2 sections "swipeable" on mobile app
-
Greetings,
I want to create a small application similar to an adding machine which ideally will run on a desktop as well as on a mobile device.
On the desktop, it looks similar to the ascii art rendering below:
+----------------+---------------+ | | 123.45 | | +---------------+ | | mc m+ mr / | | 120.23 + | | | 3.22 = | 1 2 3 * | | 123.45 | 4 5 6 - | | | 7 8 9 + | | | +/- 0 . = | | | | +----------------+---------------+
On the left hand side (LHS) is the "paper tape" with a scrollbar, and on the right hand side (RHS) are the calculator's buttons.
For a mobile device, I would like to have the paper tape "swipeable", by that I mean that either a swipe left or right toggles from the paper tape view to the calculator button view.
For the desktop version, I see a MainWindow with 2 widget containers, one for the LHS, and another for the RHS.
Since this will be my first time ever mobile app (and qt), what is the right approach to make the LHS and RHS "swipeable" ?
I should add that I've basically coded the desktop version all in C++...
-
-