37 #pragma warning( disable:4251 )
62 static QtxSplash* splash(
const QPixmap& = QPixmap() );
64 static void setStatus(
const QString&,
const int = -1 );
65 static void setError(
const QString&,
const QString& = QString(),
const int = -1 );
67 void setPixmap(
const QPixmap& );
68 QPixmap pixmap()
const;
70 void setHideOnClick(
const bool );
71 bool hideOnClick()
const;
73 void setProgressVisible(
const bool );
74 bool progressVisible()
const;
76 void setMessageVisible(
const bool );
77 bool messageVisible()
const;
79 void setPercentageVisible(
const bool );
80 bool percentageVisible()
const;
82 void setTotalSteps(
const int );
83 int totalSteps()
const;
85 void setProgress(
const int );
86 void setProgress(
const int,
const int );
89 void setMargin(
const int );
92 void setProgressWidth(
const int );
93 int progressWidth()
const;
95 void setProgressFlags(
const int );
96 int progressFlags()
const;
98 void setProgressColors(
const QColor&,
99 const QColor& = QColor(),
101 void setProgressColors(
const QGradient& );
102 const QGradient* progressColors()
const;
104 void setOpacity(
const double );
105 double opacity()
const;
107 void setTextAlignment(
const int );
108 int textAlignment()
const;
110 void setTextColors(
const QColor&,
const QColor& = QColor() );
111 void textColors( QColor&, QColor& )
const;
113 void setConstantInfo(
const QString& info );
114 QString constantInfo()
const;
116 void setOption(
const QString&,
const QString& );
117 QString option(
const QString& )
const;
119 QString message()
const;
129 void setMessage(
const QString&,
131 const QColor& = QColor() );
132 void setMessage(
const QString& );
136 virtual void mousePressEvent( QMouseEvent* );
137 virtual void customEvent(
QEvent* );
138 virtual void paintEvent( QPaintEvent* );
140 virtual void drawContents( QPainter* );
142 virtual void drawProgressBar( QPainter* );
143 virtual void drawMessage( QPainter* );
147 void setError(
const int );
148 QString fullMessage()
const;