VirtualBox

Ignore:
Timestamp:
Jun 15, 2010 12:35:56 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: created separate icon factory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxMiniToolBar.cpp

    r29083 r30192  
    1818 */
    1919
     20/* Local includes */
     21#include "UIIconPool.h"
     22#include "VBoxGlobal.h"
     23#include "VBoxMiniToolBar.h"
     24
    2025/* Global includes */
    2126#include <QCursor>
     
    2328#include <QLabel>
    2429#include <QMenu>
     30#include <QPaintEvent>
    2531#include <QPainter>
    26 #include <QPaintEvent>
    2732#include <QPolygon>
    2833#include <QRect>
     
    3035#include <QTimer>
    3136#include <QToolButton>
    32 
    33 /* Local includes */
    34 #include "VBoxMiniToolBar.h"
    35 #include "VBoxGlobal.h"
    3637
    3738/* Mini-toolbar constructor */
     
    7071    /* Add pushpin: */
    7172    m_pAutoHideAction = new QAction(this);
    72     m_pAutoHideAction->setIcon(VBoxGlobal::iconSet(":/pin_16px.png"));
     73    m_pAutoHideAction->setIcon(UIIconPool::iconSet(":/pin_16px.png"));
    7374    m_pAutoHideAction->setToolTip(tr("Always show the toolbar"));
    7475    m_pAutoHideAction->setCheckable(true);
     
    9798    /* Exit action: */
    9899    m_pRestoreAction = new QAction(this);
    99     m_pRestoreAction->setIcon(VBoxGlobal::iconSet(":/restore_16px.png"));
     100    m_pRestoreAction->setIcon(UIIconPool::iconSet(":/restore_16px.png"));
    100101    m_pRestoreAction->setToolTip(tr("Exit Full Screen or Seamless Mode"));
    101102    connect(m_pRestoreAction, SIGNAL(triggered()), this, SIGNAL(exitAction()));
     
    104105    /* Close action: */
    105106    m_pCloseAction = new QAction(this);
    106     m_pCloseAction->setIcon(VBoxGlobal::iconSet(":/close_16px.png"));
     107    m_pCloseAction->setIcon(UIIconPool::iconSet(":/close_16px.png"));
    107108    m_pCloseAction->setToolTip(tr("Close VM"));
    108109    connect(m_pCloseAction, SIGNAL(triggered()), this, SIGNAL(closeAction()));
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