VirtualBox

Changeset 4482 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Sep 3, 2007 5:21:54 AM (17 years ago)
Author:
vboxsync
Message:

FE/Qt: Added the guru meditaion message icon.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/VBoxUI.pro

    r4459 r4482  
    252252        images/vdm_remove_22px.png \
    253253        images/vdm_remove_disabled_22px.png \
     254        images/meditation_32px.png \
    254255        images/welcome.png \
    255256        images/about.png \
  • trunk/src/VBox/Frontends/VirtualBox/include/QIMessageBox.h

    r4071 r4482  
    4444        Warning = QMessageBox::Warning,
    4545        Critical = QMessageBox::Critical,
    46         Question = QMessageBox::Question
     46        Question = QMessageBox::Question,
     47        GuruMeditation,
    4748    };
    4849
  • trunk/src/VBox/Frontends/VirtualBox/src/QIMessageBox.cpp

    r4071 r4482  
    6969
    7070    mIconLabel = new QLabel (main);
    71     mIconLabel->setPixmap (QMessageBox::standardIcon ((QMessageBox::Icon) aIcon));
     71        if (aIcon < GuruMeditation)
     72        mIconLabel->setPixmap (QMessageBox::standardIcon ((QMessageBox::Icon) aIcon));
     73    else if (aIcon == GuruMeditation)
     74        mIconLabel->setPixmap (QPixmap::fromMimeSource ("meditation_32px.png"));
    7275    mIconLabel->setSizePolicy (QSizePolicy::Fixed, QSizePolicy::Minimum);
    7376    mIconLabel->setAlignment (AlignHCenter | AlignTop);
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp

    r4331 r4482  
    324324        case GuruMeditation:
    325325            title = "VirtualBox - Guru Meditation"; /* don't translate this */
    326             icon = QIMessageBox::Critical;
     326            icon = QIMessageBox::GuruMeditation;
    327327            break;
    328328    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette