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. [Split] QDialog questions
Forum Updated to NodeBB v4.3 + New Features

[Split] QDialog questions

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.7k 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.
  • K Offline
    K Offline
    KennedyDayala
    wrote on last edited by
    #1

    can you please guide me on how to work with QDialog
    1.would like to have a tool bar on dlg
    2.woluld like to restrict the size of the Dlg
    3.would like to have a spalsh screen before opening the app.

    thanks in advance.

    [EDIT: Question split out of the "original thread":http://developer.qt.nokia.com/forums/viewthread/4645/ because it's completely unrelated. Please start new threads for new questions; Volker]

    Never Ever Give Up

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Franzk
      wrote on last edited by
      #2

      [quote author="Thomas Kennedy" date="1303281754"]
      1.would like to have a tool bar on dlg
      2.woluld like to restrict the size of the Dlg
      3.would like to have a spalsh screen before opening the app.
      [/quote]

      A tool bar is a QWidget. You can place it anywhere you want like any other widget. You won't have the tool bar areas that a QMainWindow has, though.

      QWidget has:

      @ void setFixedHeight ( int h )
      void setFixedSize ( const QSize & s )
      void setFixedSize ( int w, int h )
      void setFixedWidth ( int w )
      void setMaximumHeight ( int maxh )
      void setMaximumSize ( const QSize & )
      void setMaximumSize ( int maxw, int maxh )
      void setMaximumWidth ( int maxw )
      void setMinimumHeight ( int minh )
      void setMinimumSize ( const QSize & )
      void setMinimumSize ( int minw, int minh )
      void setMinimumWidth ( int minw )@

      QSplashScreen

      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

      http://www.catb.org/~esr/faqs/smart-questions.html

      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