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. QTListWidget
Forum Updated to NodeBB v4.3 + New Features

QTListWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 440 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.
  • M Offline
    M Offline
    Malaluigi
    wrote on last edited by
    #1

    Hey QT-Devs,
    O have a quesion to my GUI with a QTListwodget!
    I have a listwidget for my ChatClient where i can see all connected Users.
    And if i click a user i wanna get like a sidewindow where i can see his name and online time and so on. But how to i make this "pop up window" kinda same like in many games and so on where you click an User and get informations or anything else.

    Do i need to completly open like a lineedit or is there any function for this

    Hope for help and thank you! Hope you understand my problem!

    Markus

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      There is no function for it.
      Only thing close to that is tooltips. You can also tool tip ListWidget items.

      You have to popup a widget near the ListWidget.

      Does this info box sort of floats over other elements on the form, like a window or its
      inside the form next to the widget ?

      M 1 Reply Last reply
      0
      • gde23G Offline
        gde23G Offline
        gde23
        wrote on last edited by
        #3

        Just create a widget for the popup with the user information and add it to the layout besides the listwidget. Then hide() it and connect the user-click to show() it.

        1 Reply Last reply
        1
        • mrjjM mrjj

          Hi
          There is no function for it.
          Only thing close to that is tooltips. You can also tool tip ListWidget items.

          You have to popup a widget near the ListWidget.

          Does this info box sort of floats over other elements on the form, like a window or its
          inside the form next to the widget ?

          M Offline
          M Offline
          Malaluigi
          wrote on last edited by
          #4

          @mrjj no just normal! But thank you LGTM!

          mrjjM 1 Reply Last reply
          0
          • M Malaluigi

            @mrjj no just normal! But thank you LGTM!

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi
            Ok then gde23 suggestions should work fine.
            You could use a QLabel. Its supports HTML text so you can have
            some bold etc to make it look nicer.
            alt text

            M 1 Reply Last reply
            1
            • mrjjM mrjj

              Hi
              Ok then gde23 suggestions should work fine.
              You could use a QLabel. Its supports HTML text so you can have
              some bold etc to make it look nicer.
              alt text

              M Offline
              M Offline
              Malaluigi
              wrote on last edited by
              #6

              @mrjj
              LGTM!! Thanks a lot

              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