VirtualBox

Ignore:
Timestamp:
Aug 25, 2019 2:56:06 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9510: Putting back the title icon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/UIInformationRuntime.cpp

    r80415 r80416  
    3131#include "UIConverter.h"
    3232#include "UIExtraDataManager.h"
     33#include "UIIconPool.h"
    3334#include "UIInformationRuntime.h"
    3435#include "UISession.h"
     
    201202    retranslateUi();
    202203
    203     QTableWidgetItem *pTitleItem = new QTableWidgetItem(m_strTableTitle);
     204    //QString(":/state_running_16px.png");
     205    //setItem(0, 0, new QTableWidgetItem(, ""));
     206
     207    QTableWidgetItem *pTitleItem = new QTableWidgetItem(UIIconPool::iconSet(":/state_running_16px.png"), m_strTableTitle);
    204208    QFont titleFont(font());
    205209    titleFont.setBold(true);
     
    579583        QFont font = painter.font();
    580584        font.setBold(true);
    581         /** @todo: make this size dynamic. aka. autoscale the font. */
     585        /** @todo make this size dynamic. aka. autoscale the font. */
    582586        font.setPixelSize(16);
    583587        painter.setFont(font);
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