Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. create a responsive ui like telegram using Qt Quick and qml
Forum Updated to NodeBB v4.3 + New Features

create a responsive ui like telegram using Qt Quick and qml

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aliakbar.R
    wrote on 10 Apr 2018, 11:56 last edited by
    #1

    I want to create a qml UI like the telegram that has responsive design. in telegram when you have enough space chat area show in right and if not enough space chat area and other detail show as stack view.

    I have on listview and a form to add a contact to the database. I want if the window is large enough listview show in right of the form

    or if not available space listview and the form is shown as stack view

    just like telegram app

    how to do this?
    alt text

    i have an example code that want to change as above description
    Github Sample to Fix

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 10 Apr 2018, 13:12 last edited by
      #2

      Check out code of KDE's System Settings app, they have recently switched to a similar responsive ui.

      Regarding the problem itself, my first thought is to use QML states to define 2 sets of UI layouts and then switch between them based on available screen/window size. Or just keep the right hand side hidden and only show it when enough screen real estate is available.

      (Z(:^

      1 Reply Last reply
      2

      1/2

      10 Apr 2018, 11:56

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved