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. QT designer screen size
Forum Updated to NodeBB v4.3 + New Features

QT designer screen size

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 4.0k 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.
  • S Offline
    S Offline
    SigintNinja
    wrote on 12 Nov 2015, 22:03 last edited by
    #1

    Hi guys,

    new to this forum and trying to create a UI for an application for my shop
    little python experience but focussing on the UI side of things at the mo

    i have a main window with my logo on the top left of the window and some text on the far right
    but when i preview the application window,the text on the far right is in the middle of the screen.
    i changed a setting on the main window to 1366x768 and now it displays ok...but this is very cumbersome to work within designer...does it matter? can i just design everything in a smaller window then stretch it out using some code or other technique.

    lastly,is this the right place to ask QT designer questions? or is there another category for this subject.

    lastly,lastly... should i be using QT creator...or is designer a better choice?

    thanks
    yfnn

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 12 Nov 2015, 22:13 last edited by mrjj 11 Dec 2015, 22:17
      #2

      hi and welcome.
      It sounds like you are going to use python ?

      --can i just design everything in a smaller window then stretch it out using some code or other technique.
      yes, if you design using layouts, then it can auto adjust most elements.
      http://doc.qt.io/qt-5.5/designer-layouts.html
      It takes a little time to learn to use them.

      --lastly,is this the right place to ask QT designer questions? or is there another category for this subject.
      this is user forum so all question regarding qt is fine.
      however there is a tools forum
      https://forum.qt.io/category/13/tools

      -lastly,lastly... should i be using QT creator...or is designer a better choice?
      Not sure what you mean here.
      You can create all in code, or use the designer part in Qreator to make screen using UI files.
      I really like the visual design but doing it purely in code is also an option.
      Also even if you use designer , you can still use code/ mix both ways.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 12 Nov 2015, 22:17 last edited by
        #3

        Hi and welcome to devnet,

        The designer plugin from Qt Creator is using the same base as Designer so you don't really need to change on for the other. As for your question, if you make use of layouts you can design your widgets without size constraints. If you really need to position some widgets by hand, then I'd recommend doing it directly in code.

        Yes, it's the right place for Designer related question.

        On a side note, it's Qt. QT stands for Apple QuickTime.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SigintNinja
          wrote on 12 Nov 2015, 22:44 last edited by
          #4

          duly noted qt champ...wow quick replies...thanks for the help
          is there a way to space out say 4 buttons in a layout...was trying....but seemed
          to stretch my buttons out

          thanks for replies!!!!!

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 12 Nov 2015, 22:45 last edited by
            #5

            Do you mean have the button evenly spaced ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            1/5

            12 Nov 2015, 22:03

            • Login

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