VirtualBox

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


Ignore:
Timestamp:
Apr 26, 2018 9:34:34 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: ​bugref:9072 Add text to font open tool button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerSettingsPanel.cpp

    r72030 r72033  
    116116        mainLayout()->addWidget(m_pOpenFontDialog, 0);
    117117        m_pOpenFontDialog->setIcon(UIIconPool::iconSet(":/log_viewer_goto_selected_bookmark_16px.png"));
     118        m_pOpenFontDialog->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
    118119    }
    119120
     
    160161    {
    161162        m_pOpenFontDialog->setToolTip(UIVMLogViewerWidget::tr("Open a font dialog to select font face for the logviewer"));
     163        m_pOpenFontDialog->setText(UIVMLogViewerWidget::tr("Select Font"));
    162164    }
    163165
     
    166168void UIVMLogViewerSettingsPanel::sltOpenFontDialog()
    167169{
    168     //  QFont   getFont(bool * ok, const QFont & initial, QWidget * parent = 0, const QString & title = QString(), FontDialogOptions options = 0)
    169170    QFont currentFont;
    170171    UIVMLogViewerWidget* parentWidget = qobject_cast<UIVMLogViewerWidget*>(parent());
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