Changeset 72030 in vbox
- Timestamp:
- Apr 26, 2018 8:34:29 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 122326
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.cpp
r71523 r72030 208 208 /* Virtual Machine: Log-viewer: */ 209 209 const char *UIExtraDataDefs::GUI_LogWindowGeometry = "GUI/LogWindowGeometry"; 210 const char *UIExtraDataDefs::GUI_LogViewerSettings = "GUI/LogViewerSettings"; 211 const char *UIExtraDataDefs::GUI_LogViewerWrapLinesEnabled = "WrapLines"; 212 const char *UIExtraDataDefs::GUI_LogViewerShowLineNumbersDisabled = "showLineNumbersDisabled"; 213 const char *UIExtraDataDefs::GUI_LogViewerNoFontStyleName = "noFontStyleName"; -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h
r71630 r72030 366 366 SHARED_LIBRARY_STUFF extern const char *GUI_LogWindowGeometry; 367 367 /** @} */ 368 /** @name Virtual Machine: Log-viewer widget settings 369 * @{ */ 370 SHARED_LIBRARY_STUFF extern const char *GUI_LogViewerSettings; 371 /** Holds log-viewer wrap line flag. */ 372 SHARED_LIBRARY_STUFF extern const char *GUI_LogViewerWrapLinesEnabled; 373 SHARED_LIBRARY_STUFF extern const char *GUI_LogViewerShowLineNumbersDisabled; 374 SHARED_LIBRARY_STUFF extern const char *GUI_LogViewerNoFontStyleName; 375 /** @} */ 376 368 377 } 369 378 -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r71580 r72030 26 26 # ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 27 27 # include <QComboBox> 28 # include <QFontDatabase> 28 29 # include <QHeaderView> 29 30 # include <QLabel> … … 4378 4379 } 4379 4380 4381 void UIExtraDataManager::setLogViweverSettings(const QFont &font, bool wrapLines, bool showLineNumbers) 4382 { 4383 /* Serialize passed values: */ 4384 QStringList data; 4385 data << font.family(); 4386 /* Make sure that we have some non-empty string as font style name: */ 4387 QString strStyleName = font.styleName(); 4388 if (strStyleName.isEmpty()) 4389 data << GUI_LogViewerNoFontStyleName; 4390 else 4391 data << font.styleName(); 4392 data << QString::number(font.pointSize()); 4393 4394 if (wrapLines) 4395 data << GUI_LogViewerWrapLinesEnabled; 4396 if (!showLineNumbers) 4397 data << GUI_LogViewerShowLineNumbersDisabled; 4398 4399 /* Re-cache corresponding extra-data: */ 4400 setExtraDataStringList(GUI_LogViewerSettings, data); 4401 } 4402 4403 bool UIExtraDataManager::logViewerWrapLines() 4404 { 4405 const QStringList data = extraDataStringList(GUI_LogViewerSettings); 4406 for (int i = 0; i < data.size(); ++i) 4407 { 4408 if (data[i] == GUI_LogViewerWrapLinesEnabled) 4409 return true; 4410 } 4411 return false; 4412 } 4413 4414 bool UIExtraDataManager::logViewerShowLineNumbers() 4415 { 4416 const QStringList data = extraDataStringList(GUI_LogViewerSettings); 4417 for (int i = 0; i < data.size(); ++i) 4418 { 4419 if (data[i] == GUI_LogViewerShowLineNumbersDisabled) 4420 return false; 4421 } 4422 return true; 4423 } 4424 4425 QFont UIExtraDataManager::logViewerFont() 4426 { 4427 const QStringList data = extraDataStringList(GUI_LogViewerSettings); 4428 if (data.size() < 3) 4429 return QFont(); 4430 QString strFamily = data[0]; 4431 QString strStyleName = data[1]; 4432 if (strStyleName == GUI_LogViewerNoFontStyleName) 4433 strStyleName.clear(); 4434 bool fOk = false; 4435 int iFontSize = data[2].toInt(&fOk); 4436 if (!fOk) 4437 iFontSize = 9; 4438 QFontDatabase dataBase; 4439 return dataBase.font(strFamily, strStyleName, iFontSize); 4440 } 4441 4380 4442 void UIExtraDataManager::sltExtraDataChange(QString strMachineID, QString strKey, QString strValue) 4381 4443 { -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r71630 r72030 660 660 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */ 661 661 662 /** @name Virtual Machine: Log dialog662 /** @name Virtual Machine: Log Viewer dialog 663 663 * @{ */ 664 664 /** Returns log-window geometry using @a pWidget and @a defaultGeometry as hints. */ … … 668 668 /** Defines log-window @a geometry and @a fMaximized state. */ 669 669 void setLogWindowGeometry(const QRect &geometry, bool fMaximized); 670 /** @} */ 671 672 /** @name Virtual Machine: Log Viewer widget settings 673 * @{ */ 674 void setLogViweverSettings(const QFont &font, bool wrapLines, bool showLineNumbers); 675 /** Returns log-viewer line wrapping flag. */ 676 bool logViewerWrapLines(); 677 /** Returns log-viewer show line numbers flag. */ 678 bool logViewerShowLineNumbers(); 679 /** Tries to find system font by searching by family and style strings within the font database. */ 680 QFont logViewerFont(); 670 681 /** @} */ 671 682 -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogPage.cpp
r71683 r72030 47 47 , m_iFilteredLineCount(-1) 48 48 , m_iUnfilteredLineCount(-1) 49 , m_bShowLineNumbers(true)50 , m_bWrapLines(false)51 , m_iFontSizeInPoints(9)52 49 { 53 50 prepare(); … … 254 251 if (m_pTextEdit) 255 252 m_pTextEdit->setFocus(); 256 applySettings();257 253 QWidget::showEvent(pEvent); 258 254 } … … 304 300 void UIVMLogPage::setShowLineNumbers(bool bShowLineNumbers) 305 301 { 306 if (m_bShowLineNumbers == bShowLineNumbers) 307 return; 308 m_bShowLineNumbers = bShowLineNumbers; 309 applySettings(); 302 if (!m_pTextEdit) 303 return; 304 m_pTextEdit->setShowLineNumbers(bShowLineNumbers); 310 305 } 311 306 312 307 void UIVMLogPage::setWrapLines(bool bWrapLines) 313 308 { 314 if (m_bWrapLines == bWrapLines) 315 return; 316 m_bWrapLines = bWrapLines; 317 applySettings(); 309 if (!m_pTextEdit) 310 return; 311 m_pTextEdit->setWrapLines(bWrapLines); 318 312 } 319 313 … … 327 321 } 328 322 329 void UIVMLogPage::setFontSizeInPoints(int fontSize)330 {331 if (m_iFontSizeInPoints == fontSize)332 return;333 m_iFontSizeInPoints = fontSize;334 applySettings();335 }336 337 int UIVMLogPage::fontSizeInPoints() const338 {339 return m_iFontSizeInPoints;340 }341 342 323 int UIVMLogPage::filteredLineCount() const 343 324 { … … 362 343 } 363 344 364 void UIVMLogPage::applySettings() 365 { 366 if (!isVisible()) 367 return; 368 if (!m_pTextEdit) 369 return; 370 if (m_bWrapLines != m_pTextEdit->wrapLines()) 371 m_pTextEdit->setWrapLines(m_bWrapLines); 372 373 if (m_bShowLineNumbers != m_pTextEdit->showLineNumbers()) 374 m_pTextEdit->setShowLineNumbers(m_bShowLineNumbers); 375 376 if (m_iFontSizeInPoints != m_pTextEdit->fontSizeInPoints()) 377 m_pTextEdit->setFontSizeInPoints(m_iFontSizeInPoints); 378 379 update(); 380 381 } 382 345 QFont UIVMLogPage::currentFont() const 346 { 347 if (!m_pTextEdit) 348 return QFont(); 349 return m_pTextEdit->font(); 350 } 351 352 void UIVMLogPage::setCurrentFont(QFont font) 353 { 354 if (!m_pTextEdit) 355 return; 356 m_pTextEdit->setCurrentFont(font); 357 } -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogPage.h
r71683 r72030 111 111 bool shouldFilterBeApplied(const QSet<QString> &filterTermSet, int filterOperationType) const; 112 112 113 void setFontSizeInPoints(int fontSize);114 int fontSizeInPoints() const;113 QFont currentFont() const; 114 void setCurrentFont(QFont font); 115 115 116 116 protected: … … 131 131 void updateTextEditBookmarkLineSet(); 132 132 void deleteBookmark(LogBookmark bookmark); 133 /** When settings for this UILogPage instance changed, they are applied immediately134 only if this is visible, if not they are applied when this becomes visible. */135 void applySettings();136 133 137 134 QHBoxLayout *m_pMainLayout; … … 167 164 /** @} */ 168 165 169 bool m_bShowLineNumbers;170 bool m_bWrapLines;171 int m_iFontSizeInPoints;172 166 }; 173 167 174 168 #endif /* !___UIVMLogPage_h___ */ 175 -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerBookmarksPanel.cpp
r71638 r72030 112 112 return; 113 113 114 m_pBookmarksComboBox = new QComboBox (this);114 m_pBookmarksComboBox = new QComboBox; 115 115 QFontMetrics fontMetrics = m_pBookmarksComboBox->fontMetrics(); 116 116 if (m_pBookmarksComboBox) … … 123 123 } 124 124 125 m_pGotoSelectedBookmark = new QIToolButton (this);125 m_pGotoSelectedBookmark = new QIToolButton; 126 126 if (m_pGotoSelectedBookmark) 127 127 { … … 159 159 } 160 160 161 m_pDeleteCurrentButton = new QIToolButton (this);161 m_pDeleteCurrentButton = new QIToolButton; 162 162 if (m_pDeleteCurrentButton) 163 163 { … … 166 166 } 167 167 168 m_pDeleteAllButton = new QIToolButton (this);168 m_pDeleteAllButton = new QIToolButton; 169 169 if (m_pDeleteAllButton) 170 170 { … … 257 257 emit sigBookmarkSelected(m_pBookmarksComboBox->currentIndex() - 1); 258 258 } 259 -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerBookmarksPanel.h
r71683 r72030 87 87 88 88 #endif /* !___UIVMLogViewerBookmarksPanel_h___ */ 89 -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerSettingsPanel.cpp
r71638 r72030 23 23 # include <QComboBox> 24 24 # include <QHBoxLayout> 25 # if defined(RT_OS_SOLARIS) 26 # include <QFontDatabase> 27 # endif 25 # include <QFontDatabase> 26 # include <QFontDialog> 28 27 # include <QCheckBox> 29 28 # include <QLabel> … … 32 31 /* GUI includes: */ 33 32 # include "QIToolButton.h" 33 # include "UIIconPool.h" 34 34 # include "UIVMLogViewerSettingsPanel.h" 35 35 # include "UIVMLogViewerWidget.h" … … 44 44 , m_pFontSizeSpinBox(0) 45 45 , m_pFontSizeLabel(0) 46 , m_pOpenFontDialog(0) 46 47 , m_iDefaultFontSize(9) 47 48 { … … 109 110 mainLayout()->addWidget(m_pFontSizeLabel, 0, Qt::AlignLeft); 110 111 } 112 113 m_pOpenFontDialog = new QIToolButton; 114 if (m_pOpenFontDialog) 115 { 116 mainLayout()->addWidget(m_pOpenFontDialog, 0); 117 m_pOpenFontDialog->setIcon(UIIconPool::iconSet(":/log_viewer_goto_selected_bookmark_16px.png")); 118 } 119 120 111 121 mainLayout()->addStretch(2); 112 122 } … … 121 131 connect(m_pFontSizeSpinBox, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), 122 132 this, &UIVMLogViewerSettingsPanel::sigFontSizeInPoints); 133 if (m_pOpenFontDialog) 134 connect(m_pOpenFontDialog, &QIToolButton::clicked, this, &UIVMLogViewerSettingsPanel::sltOpenFontDialog); 135 123 136 } 124 137 … … 126 139 { 127 140 UIVMLogViewerPanel::retranslateUi(); 128 m_pLineNumberCheckBox->setText(UIVMLogViewerWidget::tr("Show Line Numbers")); 129 m_pLineNumberCheckBox->setToolTip(UIVMLogViewerWidget::tr("Show Line Numbers")); 141 if (m_pLineNumberCheckBox) 142 { 143 m_pLineNumberCheckBox->setText(UIVMLogViewerWidget::tr("Show Line Numbers")); 144 m_pLineNumberCheckBox->setToolTip(UIVMLogViewerWidget::tr("Show Line Numbers")); 145 } 130 146 131 m_pWrapLinesCheckBox->setText(UIVMLogViewerWidget::tr("Wrap Lines")); 132 m_pWrapLinesCheckBox->setToolTip(UIVMLogViewerWidget::tr("Wrap Lines")); 147 if (m_pWrapLinesCheckBox) 148 { 149 m_pWrapLinesCheckBox->setText(UIVMLogViewerWidget::tr("Wrap Lines")); 150 m_pWrapLinesCheckBox->setToolTip(UIVMLogViewerWidget::tr("Wrap Lines")); 151 } 133 152 134 m_pFontSizeLabel->setText(UIVMLogViewerWidget::tr("Font Size")); 135 m_pFontSizeSpinBox->setToolTip(UIVMLogViewerWidget::tr("Log Viewer Font Size")); 153 if (m_pFontSizeLabel) 154 { 155 m_pFontSizeLabel->setText(UIVMLogViewerWidget::tr("Font Size")); 156 m_pFontSizeSpinBox->setToolTip(UIVMLogViewerWidget::tr("Log Viewer Font Size")); 157 } 158 159 if (m_pOpenFontDialog) 160 { 161 m_pOpenFontDialog->setToolTip(UIVMLogViewerWidget::tr("Open a font dialog to select font face for the logviewer")); 162 } 163 136 164 } 137 165 166 void UIVMLogViewerSettingsPanel::sltOpenFontDialog() 167 { 168 // QFont getFont(bool * ok, const QFont & initial, QWidget * parent = 0, const QString & title = QString(), FontDialogOptions options = 0) 169 QFont currentFont; 170 UIVMLogViewerWidget* parentWidget = qobject_cast<UIVMLogViewerWidget*>(parent()); 171 if (!parentWidget) 172 return; 173 174 currentFont = parentWidget->currentFont(); 175 bool ok; 176 QFont font = 177 QFontDialog::getFont(&ok, currentFont, this, "Logviewer font"); 178 179 if (ok) 180 emit sigFontFace(font); 181 } -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerSettingsPanel.h
r71638 r72030 25 25 class QCheckBox; 26 26 class QSpinBox; 27 class QLabel; 28 class QIToolButton; 27 29 class UIVMLogViewerWidget; 28 class QLabel;29 30 30 31 /** UIVMLogViewerPanel extension providing GUI to manage logviewer settings. */ … … 38 39 void sigWrapLines(bool show); 39 40 void sigFontSizeInPoints(int size); 41 void sigFontFace(QFont font); 40 42 41 43 public: … … 60 62 private slots: 61 63 64 void sltOpenFontDialog(); 65 62 66 private: 63 67 64 QCheckBox *m_pLineNumberCheckBox; 65 QCheckBox *m_pWrapLinesCheckBox; 66 QSpinBox *m_pFontSizeSpinBox; 67 QLabel *m_pFontSizeLabel; 68 QCheckBox *m_pLineNumberCheckBox; 69 QCheckBox *m_pWrapLinesCheckBox; 70 QSpinBox *m_pFontSizeSpinBox; 71 QLabel *m_pFontSizeLabel; 72 QIToolButton *m_pOpenFontDialog; 68 73 69 74 /** Default font size in points. */ … … 73 78 74 79 #endif /* !___UIVMLogViewerSettingsPanel_h___ */ 75 -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerTextEdit.cpp
r71875 r72030 160 160 , m_bShownTextIsFiltered(false) 161 161 , m_bShowLineNumbers(true) 162 , m_bWrapLines( false)162 , m_bWrapLines(true) 163 163 , m_bHasContextMenu(false) 164 164 { … … 191 191 192 192 /* Configure this' wrap mode: */ 193 setWordWrapMode(QTextOption::NoWrap); 194 193 setWrapLines(false); 195 194 setReadOnly(true); 196 197 QFont font = QFontDatabase::systemFont(QFontDatabase::FixedFont); 195 } 196 197 void UIVMLogViewerTextEdit::setCurrentFont(QFont font) 198 { 198 199 setFont(font); 199 200 200 if (m_pLineNumberArea) 201 201 m_pLineNumberArea->setFont(font); … … 505 505 } 506 506 507 void UIVMLogViewerTextEdit::setFontSizeInPoints(int fontSize)508 {509 if (fontSizeInPoints() == fontSize)510 return;511 QFont newFont(font());512 newFont.setPointSize(fontSize);513 setFont(newFont);514 }515 516 int UIVMLogViewerTextEdit::fontSizeInPoints() const517 {518 return font().pointSize();519 }520 521 507 bool UIVMLogViewerTextEdit::wrapLines() const 522 508 { … … 544 530 } 545 531 546 547 532 #include "UIVMLogViewerTextEdit.moc" -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerTextEdit.h
r71638 r72030 65 65 void setCurrentVerticalScrollBarValue(int value); 66 66 67 void setFontSizeInPoints(int fontSize); 68 int fontSizeInPoints() const; 67 void setCurrentFont(QFont font); 69 68 70 69 protected: … … 93 92 void toggleBookmark(const QPair<int, QString>& bookmark); 94 93 void setBackground(); 94 95 95 /** Line number and text at the context menu position */ 96 96 QPair<int, QString> m_iContextMenuBookmark; … … 116 116 117 117 #endif /* !___UIVMLogPage_h___ */ 118 -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp
r71684 r72030 23 23 # include <QDateTime> 24 24 # include <QDir> 25 # include <QFont> 25 26 # include <QMenu> 26 27 # include <QPainter> … … 77 78 , m_bShowLineNumbers(true) 78 79 , m_bWrapLines(false) 79 , m_ iFontSizeInPoints(9)80 , m_font(QFontDatabase::systemFont(QFontDatabase::FixedFont)) 80 81 { 81 82 /* Prepare VM Log-Viewer: */ … … 85 86 UIVMLogViewerWidget::~UIVMLogViewerWidget() 86 87 { 88 saveSettings(); 87 89 /* Cleanup VM Log-Viewer: */ 88 90 cleanup(); 91 } 92 93 void UIVMLogViewerWidget::loadSettings() 94 { 95 m_bWrapLines = gEDataManager->logViewerWrapLines(); 96 m_bShowLineNumbers = gEDataManager->logViewerShowLineNumbers(); 97 QFont loadedFont = gEDataManager->logViewerFont(); 98 if (loadedFont != QFont()) 99 m_font = loadedFont; 100 } 101 102 void UIVMLogViewerWidget::saveSettings() 103 { 104 gEDataManager->setLogViweverSettings(m_font, m_bWrapLines, m_bShowLineNumbers); 89 105 } 90 106 … … 241 257 if (noLogsToShow) 242 258 { 243 for (QMap<UIVMLogViewerPanel*, QAction*>::iterator iterator = m_panelActionMap.begin();259 for (QMap<UIVMLogViewerPanel*, QAction*>::iterator iterator = m_panelActionMap.begin(); 244 260 iterator != m_panelActionMap.end(); ++iterator) 245 261 { … … 360 376 void UIVMLogViewerWidget::sltFontSizeChanged(int fontSize) 361 377 { 362 if (m_ iFontSizeInPoints== fontSize)363 return; 364 m_ iFontSizeInPoints = fontSize;378 if (m_font.pointSize() == fontSize) 379 return; 380 m_font.setPointSize(fontSize); 365 381 for (int i = 0; i < m_logPageList.size(); ++i) 366 382 { 367 383 UIVMLogPage* pLogPage = qobject_cast<UIVMLogPage*>(m_logPageList[i]); 368 384 if (pLogPage) 369 pLogPage->setFontSizeInPoints(m_iFontSizeInPoints); 385 pLogPage->setCurrentFont(m_font); 386 } 387 } 388 389 void UIVMLogViewerWidget::sltFontFace(QFont font) 390 { 391 if (m_font == font) 392 return; 393 m_font = font; 394 for (int i = 0; i < m_logPageList.size(); ++i) 395 { 396 UIVMLogPage* pLogPage = qobject_cast<UIVMLogPage*>(m_logPageList[i]); 397 if (pLogPage) 398 pLogPage->setCurrentFont(m_font); 370 399 } 371 400 } … … 381 410 void UIVMLogViewerWidget::prepare() 382 411 { 412 loadSettings(); 383 413 m_pMainLayout = new QVBoxLayout(this); 384 414 … … 467 497 m_pSettingsPanel->setShowLineNumbers(m_bShowLineNumbers); 468 498 m_pSettingsPanel->setWrapLines(m_bWrapLines); 469 m_pSettingsPanel->setFontSizeInPoints(m_ iFontSizeInPoints);499 m_pSettingsPanel->setFontSizeInPoints(m_font.pointSize()); 470 500 471 501 m_pMainLayout->addWidget(m_pSettingsPanel); … … 473 503 connect(m_pSettingsPanel, &UIVMLogViewerSettingsPanel::sigWrapLines, this, &UIVMLogViewerWidget::sltWrapLines); 474 504 connect(m_pSettingsPanel, &UIVMLogViewerSettingsPanel::sigFontSizeInPoints, this, &UIVMLogViewerWidget::sltFontSizeChanged); 505 connect(m_pSettingsPanel, &UIVMLogViewerSettingsPanel::sigFontFace, this, &UIVMLogViewerWidget::sltFontFace); 475 506 } 476 507 } … … 908 939 pLogPage->setShowLineNumbers(m_bShowLineNumbers); 909 940 pLogPage->setWrapLines(m_bWrapLines); 910 pLogPage->set FontSizeInPoints(m_iFontSizeInPoints);941 pLogPage->setCurrentFont(m_font); 911 942 912 943 /* Set the file name only if we really have log file to read. */ … … 947 978 } 948 979 980 QFont UIVMLogViewerWidget::currentFont() const 981 { 982 const UIVMLogPage* logPage = currentLogPage(); 983 if (!logPage) 984 return QFont(); 985 return logPage->currentFont(); 986 } -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.h
r71638 r72030 77 77 void setMachine(const CMachine &machine); 78 78 79 QFont currentFont() const; 80 79 81 protected: 80 82 … … 118 120 void sltWrapLines(bool bWrapLine); 119 121 void sltFontSizeChanged(int fontSize); 122 void sltFontFace(QFont font); 120 123 /** @} */ 121 124 … … 174 177 void manageEscapeShortCut(); 175 178 179 /** @name Load/save some settings from/to extra data 180 * @{ */ 181 void loadSettings(); 182 void saveSettings(); 183 /** @} */ 184 176 185 /** Holds whether the dialog is polished. */ 177 186 bool m_fIsPolished; … … 212 221 /** @} */ 213 222 214 /** @name Toolbar and menu variables. 223 /** @name Toolbar and menu variables. Cache these to restore them after refresh. 215 224 * @{ */ 216 225 /** Showing/hiding line numbers and line wraping settings are set per 217 226 UIVMLogViewerWidget and applies to all log pages (all tabs) */ 218 bool m_bShowLineNumbers;219 bool m_bWrapLines;220 int m_iFontSizeInPoints;227 bool m_bShowLineNumbers; 228 bool m_bWrapLines; 229 QFont m_font; 221 230 /** @} */ 222 231 … … 229 238 230 239 #endif /* !___UIVMLogViewerWidget_h___ */ 231
Note:
See TracChangeset
for help on using the changeset viewer.