implements feature request: 9. When using Cards only visible on mouse click, retain the ability to see own cards after folding

This commit is contained in:
doitux
2009-03-02 22:13:20 +00:00
parent e8f9d917f8
commit 9d49dd9be5
2 changed files with 10 additions and 5 deletions
+6 -1
View File
@@ -190,10 +190,15 @@ void MyCardsPixmapLabel::paintEvent(QPaintEvent * event) {
painter3.drawPixmap(0,0, front);
}
if (fastFlipCardsFront && !fadeOutAction && !flipCardsAction1 && !flipCardsAction2) {
if (fastFlipCardsFront && !flipCardsAction1 && !flipCardsAction2) {
if(objectName().contains("pixmapLabel_card0")) {
QPainter painter4(this);
painter4.drawPixmap(0,0, myHiddenFront);
if(fadeOutAction) {
painter4.setBrush(QColor(74,131,83));
painter4.setOpacity(0.75);
painter4.drawRect(-1,-1,81,112);
}
}
}
}