#ifndef XGUI_ViewBackground_H
#define XGUI_ViewBackground_H
+#include "XGUI.h"
#include "XGUI_Constants.h"
#include <QColor>
bg.setTextureShown( true ); // draw texture on the solid color background
\endcode
*/
-class XGUI_ViewBackground
+class XGUI_EXPORT XGUI_ViewBackground
{
-public:
+ public:
XGUI_ViewBackground();
XGUI_ViewBackground(const QColor& theColor);
XGUI_ViewBackground(XGUI::GradientType type, const QColor& theColor1, const QColor& theColor2);
const QGradient* gradient() const;
void setGradient(const QGradient&);
-private:
+ private:
XGUI::BackgroundMode myMode;
XGUI::TextureMode myTextureMode;
QString myFileName;