//=========================================== // Lumina-DE source code // Copyright (c) 2016, Henry Hu // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #ifndef _LUMINA_DESKTOP_LDESKTOPBACKGROUND_H_ #define _LUMINA_DESKTOP_LDESKTOPBACKGROUND_H_ #include #include #include class LDesktopBackground: public QWidget { Q_OBJECT public: LDesktopBackground(); virtual ~LDesktopBackground(); virtual void paintEvent(QPaintEvent*); void setBackground(const QString&, const QString&); private: QPixmap *bgPixmap; }; #endif // _LUMINA_DESKTOP_LDESKTOPBACKGROUND_H_