Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. forms
    Log in to post

    • UNSOLVED GUI design doesn't update when changed in Qt Creator
      General and Desktop • qt creator designer update forms rebuild • • mdresser  

      3
      0
      Votes
      3
      Posts
      921
      Views

      And just to add to @mrjj, no Makefiles. These kind of files should only exist in the build folder. If you have a duplicate in the project folder, it will drive you crazy.
    • UNSOLVED Forms vs window + QVBoxLayout in Qt creator desktop applications
      General and Desktop • layout widgets forms • • kweber  

      3
      0
      Votes
      3
      Posts
      420
      Views

      Hi I do most layouts using Designer and loads mostly data from code. But you dont have to choose one way over the other. The UI forms is converted to code ( see setupUI() ) so sometimes i use Designer to create a layout/setup and then use the code from my code as templates. The main reason we like using UI files is that it allows the non UX developers to do a bit of GUI sometimes as its less involving to drag a new button to a layout than reading heaps of setup code to find right spot. But basically, its more a matter of taste than anything technical . But there are things you need to do from code as designer cannot do it.
    • UNSOLVED Best way to completely change screen contents?
      General and Desktop • forms screen contents • • austinp18  

      2
      0
      Votes
      2
      Posts
      190
      Views

      @austinp18 Hi The normal route is to use layouts http://doc.qt.io/qt-5/layout.html So the form can adjust to different sizes automatically.
    • UNSOLVED connecting to database when a form loads using signals and slots
      General and Desktop • qtcreator signal & slot database forms • • Lasith  

      4
      0
      Votes
      4
      Posts
      954
      Views

      @mostefa said in connecting to database when a form loads using signals and slots: I think that this post is duplicate Strictly speaking it isn't, although it's quite similar.
    • Passing Data between forms
      General and Desktop • qtableview signal & slot forms • • Core2  

      11
      0
      Votes
      11
      Posts
      8905
      Views

      You might get error is the following statement, since ui is not included ui->MWtextEdit->setText(text) which can be got ridden by adding following syntax in in mainwindow.h #include "ui_mainwindow.h"
    • UNSOLVED UI Forms Custom Properties
      General and Desktop • forms • • Suths  

      8
      0
      Votes
      8
      Posts
      1359
      Views

      One way to do the filtering more cleanly would be to use custom mime-types then in your drop target, you check that mime type and if not whitelisted then refuse the drop. No need for any knowledge of the widget where the item comes from.
    • SOLVED How to use an object created in the UI Designer
      General and Desktop • forms qframe • • kenyanke  

      3
      0
      Votes
      3
      Posts
      691
      Views

      Thank you.
    • SOLVED How to have multiple widgets initialized from a single form file (no aggregation/inheritance)
      General and Desktop • widgets moc forms • • kshegunov  

      10
      0
      Votes
      10
      Posts
      3762
      Views

      @kshegunov well you are not the first :) At all.
    • Form compiler adds unneeded layout
      General and Desktop • layout widgets forms • • kshegunov  

      3
      0
      Votes
      3
      Posts
      795
      Views

      Hello, Thanks for taking the time to welcome me into the forums and write about my question. I will then make a placeholder widget, as you suggested, and take it from there. Kind regards.
    • [SOLVED]Need help with combining GUI
      General and Desktop • gui mainwindow forms • • zhihaowu  

      18
      0
      Votes
      18
      Posts
      3537
      Views

      @KaranBehar Well agile is not different with Qt. Just make sure project is under code revision control and go ahead :)
    • [SOLVED] Validate inputs using QValidator class
      General and Desktop • forms qvalidator • • sachi  

      5
      0
      Votes
      5
      Posts
      1661
      Views

      Thank you for your help
    • Qt 5.3.2: Form transitions C++
      General and Desktop • c++ animation forms navigation qt 5.3.2 slide • • PAMikeD  

      3
      0
      Votes
      3
      Posts
      1197
      Views

      @VRonin Thanks!, this is what I ended up doing in the end, I just wondered if there was a nicer way like StackView.
    • Login into a Javascript form webpage
      General and Desktop • javascript login forms web browser • • exSnake  

      2
      0
      Votes
      2
      Posts
      774
      Views

      Hi @exSnake, May be you should try using evaluateJavaScript.
    • [SOLVED]Suggestions on implementing a proper settings dialog.
      General and Desktop • forms dialogs • • ealione  

      4
      0
      Votes
      4
      Posts
      1020
      Views

      Hi @ealione, you can decide also later how to handle it; I suggest to keep in memory only if you think that the user will use it very often otherwise there's no problem to create/destroy it when is needed
    • Transfer Data Between Two Forms
      General and Desktop • data forms transfer between • • XADOOO  

      3
      0
      Votes
      3
      Posts
      1523
      Views

      @XADOOO said: ast