VirtualBox

儲存庫 vbox 的更動 49758


忽略:
時間撮記:
2013-12-3 下午03:07:30 (11 年 以前)
作者:
vboxsync
訊息:

FE/Qt: Mac OS X: Hide mini-toolbar minimize button.

位置:
trunk/src/VBox/Frontends/VirtualBox/src
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp

    r49462 r49758  
    116116        menus << actions.at(i)->menu();
    117117    m_pMiniToolBar->addMenus(menus);
     118#ifndef RT_OS_DARWIN
    118119    connect(m_pMiniToolBar, SIGNAL(sigMinimizeAction()), this, SLOT(showMinimized()));
     120#endif /* !RT_OS_DARWIN */
    119121    connect(m_pMiniToolBar, SIGNAL(sigExitAction()),
    120122            gActionPool->action(UIActionIndexRuntime_Toggle_Fullscreen), SLOT(trigger()));
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp

    r48534 r49758  
    271271        connect(m_pToolbar, SIGNAL(sigResized()), this, SLOT(sltHandleToolbarResize()));
    272272        connect(m_pToolbar, SIGNAL(sigAutoHideToggled()), this, SLOT(sltAutoHideToggled()));
     273#ifndef RT_OS_DARWIN
    273274        connect(m_pToolbar, SIGNAL(sigMinimizeAction()), this, SIGNAL(sigMinimizeAction()));
     275#endif /* !RT_OS_DARWIN */
    274276        connect(m_pToolbar, SIGNAL(sigExitAction()), this, SIGNAL(sigExitAction()));
    275277        connect(m_pToolbar, SIGNAL(sigCloseAction()), this, SIGNAL(sigCloseAction()));
     
    427429    , m_pAutoHideAction(0)
    428430    , m_pLabel(0)
     431#ifndef RT_OS_DARWIN
    429432    , m_pMinimizeAction(0)
     433#endif /* !RT_OS_DARWIN */
    430434    , m_pRestoreAction(0)
    431435    , m_pCloseAction(0)
     
    607611    m_margins << widgetForAction(addWidget(new QWidget));
    608612
     613#ifndef RT_OS_DARWIN
    609614    /* Minimize action: */
    610615    m_pMinimizeAction = new QAction(this);
     
    613618    connect(m_pMinimizeAction, SIGNAL(triggered()), this, SIGNAL(sigMinimizeAction()));
    614619    addAction(m_pMinimizeAction);
     620#endif /* !RT_OS_DARWIN */
    615621
    616622    /* Exit action: */
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.h

    r46244 r49758  
    5454
    5555    /* Notifiers: Action stuff: */
     56#ifndef RT_OS_DARWIN
    5657    void sigMinimizeAction();
     58#endif /* !RT_OS_DARWIN */
    5759    void sigExitAction();
    5860    void sigCloseAction();
     
    152154    /* Notifiers: Action stuff: */
    153155    void sigAutoHideToggled();
     156#ifndef RT_OS_DARWIN
    154157    void sigMinimizeAction();
     158#endif /* !RT_OS_DARWIN */
    155159    void sigExitAction();
    156160    void sigCloseAction();
     
    202206    QAction *m_pAutoHideAction;
    203207    QLabel *m_pLabel;
     208#ifndef RT_OS_DARWIN
    204209    QAction *m_pMinimizeAction;
     210#endif /* !RT_OS_DARWIN */
    205211    QAction *m_pRestoreAction;
    206212    QAction *m_pCloseAction;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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