VirtualBox

Changeset 9267 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 31, 2008 2:50:29 PM (17 years ago)
Author:
vboxsync
Message:

mac hacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/VBoxDbgConsole.cpp

    r9206 r9267  
     1/* $Id$ */
    12/** @file
    2  *
    33 * VBox Debugger GUI - Console.
    44 */
     
    6565    setTextFormat(PlainText);   /* minimal HTML: setTextFormat(LogText); */
    6666
     67#ifdef Q_WS_MAC
     68    QFont Font("Monaco", 10, QFont::Normal, FALSE);
     69    Font.setStyleStrategy(QFont::NoAntialias);
     70#else
    6771    QFont Font = font();
     72    Font.setFamily("Courier [Monotype]");
    6873    Font.setStyleHint(QFont::TypeWriter);
    69     Font.setFamily("Courier [Monotype]");
     74#endif
    7075    setFont(Font);
    7176
    7277    /* green on black */
    7378    setPaper(QBrush(Qt::black));
    74     //setColor(Qt::green);
    7579    setColor(QColor(qRgb(0, 0xe0, 0)));
    7680}
     
    139143{
    140144    insertItem("", m_iBlankItem);
    141     //setInsertionPolicy(AfterCurrent);
    142145    setInsertionPolicy(NoInsertion);
    143146    setMaxCount(50);
     
    231234    m_pInput->setDuplicatesEnabled(false);
    232235    connect(m_pInput, SIGNAL(commandSubmitted(const QString &)), this, SLOT(commandSubmitted(const QString &)));
     236
     237#ifdef Q_WS_MAC
     238    pLabel = new QLabel(NULL, "  ", pHBox);
     239    pLabel->setMaximumSize(20, m_pInput->sizeHint().height() + 6);
     240    pLabel->setMinimumSize(20, m_pInput->sizeHint().height() + 6);
     241#endif
    233242
    234243    /*
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