Changeset 9267 in vbox for trunk/src/VBox
- Timestamp:
- May 31, 2008 2:50:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/VBoxDbgConsole.cpp
r9206 r9267 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox Debugger GUI - Console. 4 4 */ … … 65 65 setTextFormat(PlainText); /* minimal HTML: setTextFormat(LogText); */ 66 66 67 #ifdef Q_WS_MAC 68 QFont Font("Monaco", 10, QFont::Normal, FALSE); 69 Font.setStyleStrategy(QFont::NoAntialias); 70 #else 67 71 QFont Font = font(); 72 Font.setFamily("Courier [Monotype]"); 68 73 Font.setStyleHint(QFont::TypeWriter); 69 Font.setFamily("Courier [Monotype]"); 74 #endif 70 75 setFont(Font); 71 76 72 77 /* green on black */ 73 78 setPaper(QBrush(Qt::black)); 74 //setColor(Qt::green);75 79 setColor(QColor(qRgb(0, 0xe0, 0))); 76 80 } … … 139 143 { 140 144 insertItem("", m_iBlankItem); 141 //setInsertionPolicy(AfterCurrent);142 145 setInsertionPolicy(NoInsertion); 143 146 setMaxCount(50); … … 231 234 m_pInput->setDuplicatesEnabled(false); 232 235 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 233 242 234 243 /*
Note:
See TracChangeset
for help on using the changeset viewer.