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. Adding new UI forms to the Application for additional windows
Forum Updated to NodeBB v4.3 + New Features

Adding new UI forms to the Application for additional windows

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 3.1k Views 1 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
    ahsub
    wrote on last edited by
    #1

    Hi All,

    In my application, I would like to show a new UI when the user clicks a button / on a particular action.
    This UI is designed using creator similar to the main UI form.
    When this additional ui/form is called using show(), it shows the form but only for a fraction of a second and moves on to the next statement.

    Is there any way to make the control stay on the form till the user either closes the UI or on an action (button click) similar to the standard QDialogs.

    Thanks in advance.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Can you show us the code where you make the form to show? Seems like a variable going out of scope.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lorik
        wrote on last edited by
        #3

        I am familiar with the problem ,you have to instantiate your widget with 'new' statement

        1 Reply Last reply
        0

        • Login

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