Results 1 to 7 of 7

Thread: how i can create a transparent form an draw on it?

  1. #1
    Join Date
    Jan 2011
    Posts
    33
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default how i can create a transparent form an draw on it?

    i want to create a application like this link : http://www.mediafire.com/?u8uj5cxcw565a36

    is there anyone who has a code demo of a similar programme can help me ?

    thanks !

  2. #2
    Join Date
    Jan 2011
    Posts
    33
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how i can create a transparent form an draw on it?

    Up ... help me

  3. #3
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,391
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: how i can create a transparent form an draw on it?

    Maybe attach some screenshots instead of something .zip-ed, for convenient access.

  4. #4
    Join Date
    Jan 2011
    Posts
    33
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how i can create a transparent form an draw on it?

    sorry . this is a program image.
    Attached Images Attached Images

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

    Default Re: how i can create a transparent form an draw on it?

    Isn't it just manipulating the desktop wallpaper?
    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.


  6. #6
    Join Date
    Jan 2011
    Posts
    33
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how i can create a transparent form an draw on it?

    it is almost bare and always displayed higher than other programmes.
    Attached Images Attached Images

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

    Default Re: how i can create a transparent form an draw on it?

    You could do it in Qt (create a widget covering the whole screen, make it translucent and paint your stuff) but the problem will be handling input events (your widget would steal all the mouse events from the screen if you don't explicitly forward them back to the desktop manager) so I think it's easier to do it by calling the native API directly.
    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.


Similar Threads

  1. How to draw semi-transparent text.
    By lrjdragon in forum Qt Programming
    Replies: 1
    Last Post: 23rd August 2010, 16:24
  2. draw transparent buttons on top of an opengl graphicsview
    By billconan in forum Qt Programming
    Replies: 0
    Last Post: 7th November 2009, 20:38
  3. Create Transparent PNG Image
    By hvitual in forum Qt Programming
    Replies: 1
    Last Post: 2nd August 2009, 14:35
  4. Draw transparent SVG in Background of Widget
    By soul_rebel in forum Qt Programming
    Replies: 0
    Last Post: 28th October 2008, 20:44
  5. Transparent form
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 1st November 2007, 12:51

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.