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. How to set visible?
Forum Updated to NodeBB v4.3 + New Features

How to set visible?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 3.0k 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
    saobien39
    wrote on last edited by
    #1

    Hi, I create signal/slot link between button and label, I did so:

    !http://nn3.upanh.com/b5.s28.d1/b1fdaec906bff07328437fac0a023a8e_45711083.h1.png(Interface)!

    Currently, I only set a layout grid for form. When clicking at Show Button, I think it will display message "Hello World", but it couldn't ...

    Maybe I missed something.

    "Source":http://www.mediafire.com/?e11q1g30rmbai15
    (copy link and paste it)

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Follow this example about "QPushButton":http://qt-project.org/wiki/How_to_Use_QPushButton and modify method handleButton() to show the desired message.

      http://anavi.org/

      1 Reply Last reply
      0
      • S Offline
        S Offline
        saobien39
        wrote on last edited by
        #3

        Thanks, I think signal released() and slot handleButton() are another story, maybe I will do it at a nice day :) . I am learning how to use toogle(bool) and setVisible(bool) in qt designer. You know my mistake? Can you show me?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          saobien39
          wrote on last edited by
          #4

          Eureka, I miss checkable on Show button, if having anyone' support, I didn't waste much time ... to bite pencil =_=

          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