Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Making a Start Screen Menu - GUI
Forum Updated to NodeBB v4.3 + New Features

Making a Start Screen Menu - GUI

Scheduled Pinned Locked Moved Game Development
4 Posts 4 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.
  • S Offline
    S Offline
    Scene68
    wrote on last edited by
    #1

    I am a beginner so please be kind with your response to my question. Trying to develop a start up main menu for my text based game I am putting together the usual "New Game", "Load Game", "Options", "Exit" etc and I think that I could do that with the pushButtons and if so is there any way I could add a picture background and change or highlight the color of the buttons using QT> or would I need to use another program & implement that into the buttons? Anyone please get back with me thanks :)

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Neutron Stein
      wrote on last edited by
      #2

      you can do it using Qt Designer

      Never Seen !

      1 Reply Last reply
      0
      • C Offline
        C Offline
        CreMindES
        wrote on last edited by
        #3

        You should check the docs and wiki about QPushButton and layouts ;) (sorry to not include links, I'm in a hurry, but these can easily be found using the search)

        There are a few examples too in the wiki and also in Qt Creator.
        And check signals and slots mechanism too, from then it'll pretty easy ;)

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DerManu
          wrote on last edited by
          #4

          Since it hasn't been mentioned yet: Stylesheets are your friend here, as they can make the pushbutton look like whatever you want.

          http://doc.qt.nokia.com/qq/qq20-qss.html

          A quote from that site that might inspire you:
          @QPushButton {
          border-width: 4px;
          border-image: url(button.png) 4 4 4 4 stretch stretch;
          }@

          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