Results 1 to 20 of 34

Thread: make a .jpg or .bmp picture into a widget...?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #19
    Join Date
    Sep 2007
    Location
    Rome, GA
    Posts
    199
    Qt products
    Qt4
    Platforms
    MacOS X Windows
    Thanks
    14
    Thanked 41 Times in 35 Posts

    Default Re: make a .jpg or .bmp picture into a widget...?

    Qt Code:
    1. #ifndef __BLINKINGICON_H__
    2. #define __BLINKINGICON_H__
    3.  
    4. #include <QWidget>
    5. #include <QLabel>
    6.  
    7. class BlinkingIcon : public QWidget
    8. {
    9. Q_OBJECT
    10.  
    11. public:
    12. BlinkingIcon(QWidget *parent = 0);
    13. virtual ~BlinkingIcon();
    14.  
    15. private:
    16. QLabel * display_image;
    17. };
    18.  
    19. #endif //__BLINKINGICON_H__
    To copy to clipboard, switch view to plain text mode 

  2. The following user says thank you to JimDaniel for this useful post:

    mynahz (10th June 2008)

Similar Threads

  1. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 06:57

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
  •  
Qt is a trademark of The Qt Company.