VirtualBox

Changeset 879 in vbox


Ignore:
Timestamp:
Feb 13, 2007 3:51:45 PM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Added the eraser icon (for clearing/resetting values to defaults); Fixed a minor bug in the auto-resize guest icon.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
2 added
8 edited

Legend:

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

    r788 r879  
    187187        images/show_snapshot_details_dis_16px.png \
    188188        images/show_snapshot_details_dis_22px.png \
     189        images/eraser_16px.png \
     190        images/eraser_disabled_16px.png \
    189191        images/refresh_16px.png \
    190192        images/refresh_disabled_16px.png \
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r567 r879  
    185185    {
    186186        mRefreshButton->setText (mRefreshAction->menuText());
    187 //        mRefreshButton->setText (mRefreshAction->text());
    188 //        mRefreshButton->setAccel (mRefreshAction->accel());
    189 //        mRefreshButton->setTextLabel (mRefreshAction->text());
    190 //        mRefreshButton->setIconSet (mRefreshAction->iconSet());
     187        /* If we set the combination of the text label and icon
     188         * below, we lose the Alt+R shortcut functionality... */
     189        mRefreshButton->setTextLabel (mRefreshAction->text());
     190        mRefreshButton->setAccel (mRefreshAction->accel());
     191        mRefreshButton->setIconSet (mRefreshAction->iconSet());
     192        mRefreshButton->setTextPosition (QToolButton::BesideIcon);
     193        mRefreshButton->setUsesTextLabel (true);
    191194    }
    192195}
     
    253256        "vm_discard_dis.png", "discard_dis_16px.png"));
    254257    vmRefreshAction = new QAction (this, "vmRefreshAction");
    255     /// @todo (r=dmik) set icon set
     258    vmRefreshAction->setIconSet (VBoxGlobal::iconSet (
     259        "refresh_16px.png", "refresh_disabled_16px.png"));
    256260   
    257261    helpContentsAction = new QAction (this, "helpContentsAction");
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui

    r815 r879  
    295295                                </property>
    296296                                <property name="iconSet">
    297                                     <iconset>delete_16px.png</iconset>
     297                                    <iconset>eraser_16px.png</iconset>
    298298                                </property>
    299299                                <property name="autoRaise">
     
    316316                                </property>
    317317                                <property name="iconSet">
    318                                     <iconset>delete_16px.png</iconset>
     318                                    <iconset>eraser_16px.png</iconset>
    319319                                </property>
    320320                                <property name="autoRaise">
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h

    r815 r879  
    298298    tbSelectSavedStateFolder->setIconSet (VBoxGlobal::iconSet ("select_file_16px.png",
    299299                                                               "select_file_dis_16px.png"));
    300     tbResetSavedStateFolder->setIconSet (VBoxGlobal::iconSet ("delete_16px.png",
    301                                                               "delete_dis_16px.png"));
     300    tbResetSavedStateFolder->setIconSet (VBoxGlobal::iconSet ("eraser_16px.png",
     301                                                              "eraser_disabled_16px.png"));
    302302
    303303    /* HDD Images page */
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