Results 1 to 2 of 2

Thread: Create translucent widget on Linux without Compiz.

  1. #1
    Join Date
    Oct 2010
    Location
    Rostov-on-Don
    Posts
    2
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Create translucent widget on Linux without Compiz.

    The documentation for windowOpacity-prop said:
    Note that under X11 you need to have a composite manager running, and the X11 specific _NET_WM_WINDOW_OPACITY atom needs to be supported by the window manager you are using.
    That is, the opportunity to make a widget translucent only if the costs compositing manager (Compiz, for example).
    How can I get around this restriction without damaging its cross-platform program?

    Actually, we need not so much a translucent widget as the possibility of selection on the screen.
    For example, in Linux there is a program scrot which is able to select areas on the screen and then do a screen shot selection.
    A similar possibility of making the screen I want to get into their program.

    p. s.: I apologize for my bad English. I translated your question using the Google Translate Tools. If something in my question is not clear (not translated correctly), then point to it and I will clarify this point.
    Its advantage lies in the fact that he stands on the brink.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Create translucent widget on Linux without Compiz.

    You can use QDesktopWidget. Use QPixmap::grabWidget() to grab the screenshot of the desktop so that you can do selections on it.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    TIT (25th October 2010)

Similar Threads

  1. Translucent Qt widget
    By manojmka in forum Qt for Embedded and Mobile
    Replies: 8
    Last Post: 20th June 2012, 12:08
  2. How to Create child widget behind parent widget?
    By anupamgee in forum Qt Programming
    Replies: 6
    Last Post: 22nd June 2010, 13:03
  3. Replies: 1
    Last Post: 19th January 2010, 22:16
  4. How to create package for a Qt4 application in linux..?
    By archanasubodh in forum Installation and Deployment
    Replies: 24
    Last Post: 6th March 2008, 12:20
  5. Compiz/XGL on Qt4
    By elcuco in forum Qt Programming
    Replies: 2
    Last Post: 15th November 2006, 21:35

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.