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. Signal/slot and GIF
Forum Updated to NodeBB v4.3 + New Features

Signal/slot and GIF

Scheduled Pinned Locked Moved Unsolved General and Desktop
signal & slotgif
4 Posts 3 Posters 1.4k Views 3 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
    scralings
    wrote on last edited by
    #1

    I'm sending (checkBoxRiver) as a signal (pressed()) to a receiver (toolButtonRiver) as a slot (toggle()). I am wanting it to be able to turn on/off at my desire. I will have a Building, Roads, & Railroad layer on top of this. It NOT working. My GIFs are correct. It shows up blank (River.gif) in the actual running of it. Is it in icon (normal off)? [link text](link url)

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

      @scralings said:

      As far as i know, the icon theme and "icon normal" etc is only working in linux.

      Those icons are for state of button, on/off/ selected etc and i do not think it
      will be used with Toggle() as that is for the Checkable part.

      Is a toolbutton really good for this?

      Using a custom widget should much easier overall.

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

        @mrjj said:

        custom widget

        What is the custom widget? I am new to this....

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          A custom widget is a widget you build yourself by e.g. aggregating other widgets or doing custom painting.

          Can you share your current code ? That will make things easier to help.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved