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. What type of tooltip is this? And how can i do it?

What type of tooltip is this? And how can i do it?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.6k 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.
  • L Offline
    L Offline
    Leon
    wrote on last edited by
    #1

    If you set a tooltip on something ( for example a trayicon ) it will look like this:

    !http://img585.imageshack.us/img585/561/11111j.png(Screen)!

    But if you go on Ubuntu at the clock ( and every tooltip on ubuntu general) that will be shown:

    !http://img543.imageshack.us/img543/5549/22222z.png(Screen2)!

    So is this a different type of a tooltip or something? ( Differences: Transparency and angles )

    P.s
    I am setting the tooltip with this:
    @ui->Button->setToolTip("Start Operation");@

    The Problem isn't that i set the tooltip at the trayicon.. It is the same for everything... Any ideas?
    I am using Ubuntu 10.10...

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MarkoSiroki
      wrote on last edited by
      #2

      Hmm, maybe this icon catches mouse hover event and then simply show QFrame with contents. Once hover event is no more, QFrame becomes inactive/destroyed.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vishwajeet
        wrote on last edited by
        #3

        u should check on ubuntu forum for this, this is platform thing

        Born To Code !!!

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Leon
          wrote on last edited by
          #4

          At ubuntu forums someone had told:

          bq. it's a GtkStatusIcon widget, you might perceive them as two entirely different widgets because the first image you posted is running on a none composited desktop while compositing is enabled on the second image, giving the widget an auto-transparency and rounded corner effects.

          But how to use GtkStatusIcon widget with 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