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. About window
QtWS25 Last Chance

About window

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 7.7k Views
  • 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.
  • C Offline
    C Offline
    cybert79
    wrote on last edited by
    #1

    Hi all,

    Can anyone tell me where I can fill in the details for the about window?
    I see the actionAbout but I can nowhere find the file or so to type in the things I want in the about window

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      Which about window are we talking about here?

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raaghuu
        wrote on last edited by
        #3

        If you are referring to the "Help Menu -> About" window, "this":http://qt-project.org/doc/qt-4.8/qmessagebox.html#about might be helpful

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cybert79
          wrote on last edited by
          #4

          Yep, I do mean “Help Menu -> About” but in that link it is not really clear,...

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            There is a standard about dialog that displays information about Qt. -If you want one about your own application, you'll have to create your own. There is no standard about box that I know of.-

            1 Reply Last reply
            0
            • R Offline
              R Offline
              raaghuu
              wrote on last edited by
              #6

              You can create the custom about box as follows:

              @
              QMessageBox::about(<parent-widget>,<window-title>,<window-text>)
              @

              <parent-widget> is typically the main window of the app
              <window-title> is the title shown on the title bar. Ex. - @tr("About MyApp")@
              <window-text> is the content of the window. Ex. - @tr("Here is some info on MyApp")@

              <window-text> also supports HTML formatting tags to display Rich-Text. Ex. - @tr("<h1><b><i><u>Info on MyApp</u></i></b></h1><br />This is some info")@

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andre
                wrote on last edited by
                #7

                [quote author="raaghuu" date="1341998381"]You can create the custom about box as follows:

                @
                QMessageBox::about(<parent-widget>,<window-title>,<window-text>)
                @
                [/quote]
                Doh! I completely missed that one... So yes, there is a default standard about box provided by Qt.

                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