Untitled
public text v1 · immutable void KviSplashScreen::fadeTimerShot()
195 {
196 #ifdef COMPILE_USE_QT4
197 if(m_bIncreasing)
198 {
199 m_rTransparency+=0.05;
200 setWindowOpacity(m_rTransparency);
201 if(m_rTransparency>=1)
202 {
203 m_pFadeTimer->stop();
204 m_bIncreasing=false;
205 }
206
207
208 } else {
209 m_rTransparency-=0.02;
210 setWindowOpacity(m_rTransparency);
211 if(m_rTransparency<=0)
212 {
213 m_pFadeTimer->stop();
214 m_bIncreasing=true;
215 suicide();
216 }
217 }
218 #endif
219 }
220