]> Shamusworld >> Repos - virtualjaguar/commitdiff
Changed fonts in developer dialogs to use system defaults.
authorShamus Hammons <jlhamm@acm.org>
Tue, 19 Feb 2013 21:41:19 +0000 (15:41 -0600)
committerShamus Hammons <jlhamm@acm.org>
Tue, 19 Feb 2013 21:41:19 +0000 (15:41 -0600)
src/gui/debug/cpubrowser.cpp
src/gui/debug/m68kdasmbrowser.cpp
src/gui/debug/memorybrowser.cpp
src/gui/debug/opbrowser.cpp
src/gui/debug/riscdasmbrowser.cpp

index 62d6d0a250ebe8a958806d7443069db2113a0a84..ac6063841ce451c6abf71feda5765cfacc0b5f8b 100644 (file)
@@ -32,7 +32,9 @@ CPUBrowserWindow::CPUBrowserWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt:
        // Need to set the size as well...
 //     resize(560, 480);
 
-       QFont fixedFont("Lucida Console", 8, QFont::Normal);
+//     QFont fixedFont("Lucida Console", 8, QFont::Normal);
+       QFont fixedFont("", 8, QFont::Normal);
+       fixedFont.setStyleHint(QFont::TypeWriter);
        text->setFont(fixedFont);
 ////   layout->setSizeConstraint(QLayout::SetFixedSize);
        setLayout(layout);
index af21b9ebaba93cafb2284a25bbb257fda1e1c6c9..931b3db661289cbfd760455f728ab0fbf1066855 100644 (file)
@@ -40,7 +40,9 @@ M68KDasmBrowserWindow::M68KDasmBrowserWindow(QWidget * parent/*= 0*/): QWidget(p
        // Need to set the size as well...
 //     resize(560, 480);
 
-       QFont fixedFont("Lucida Console", 8, QFont::Normal);
+//     QFont fixedFont("Lucida Console", 8, QFont::Normal);
+       QFont fixedFont("", 8, QFont::Normal);
+       fixedFont.setStyleHint(QFont::TypeWriter);
        text->setFont(fixedFont);
 ////   layout->setSizeConstraint(QLayout::SetFixedSize);
        setLayout(layout);
index b2d2170f5ba308666541cccff30170a292afbce8..745b3a80a86bf2d208e36846639a01f7c503225b 100644 (file)
@@ -37,7 +37,9 @@ MemoryBrowserWindow::MemoryBrowserWindow(QWidget * parent/*= 0*/): QWidget(paren
        // Need to set the size as well...
 //     resize(560, 480);
 
-       QFont fixedFont("Lucida Console", 8, QFont::Normal);
+//     QFont fixedFont("Lucida Console", 8, QFont::Normal);
+       QFont fixedFont("", 8, QFont::Normal);
+       fixedFont.setStyleHint(QFont::TypeWriter);
        text->setFont(fixedFont);
 ////   layout->setSizeConstraint(QLayout::SetFixedSize);
        setLayout(layout);
index 3c1d2eab17800a0be0038329aeed8f97d42f056b..3a86e4181c5de103a2aa42746faf98bb7c7eec15 100644 (file)
@@ -29,7 +29,9 @@ OPBrowserWindow::OPBrowserWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::D
        // Need to set the size as well...
 //     resize(560, 480);
 
-       QFont fixedFont("Lucida Console", 8, QFont::Normal);
+//     QFont fixedFont("Lucida Console", 8, QFont::Normal);
+       QFont fixedFont("", 8, QFont::Normal);
+       fixedFont.setStyleHint(QFont::TypeWriter);
        text->setFont(fixedFont);
 ////   layout->setSizeConstraint(QLayout::SetFixedSize);
        setLayout(layout);
index be2196f3ce21cd1124c64bf71c15d2c0e1e42cd6..67e69c9733a54201ac72de9dd6b77655af745066 100644 (file)
@@ -42,7 +42,9 @@ RISCDasmBrowserWindow::RISCDasmBrowserWindow(QWidget * parent/*= 0*/): QWidget(p
        // Need to set the size as well...
 //     resize(560, 480);
 
-       QFont fixedFont("Lucida Console", 8, QFont::Normal);
+//     QFont fixedFont("Lucida Console", 8, QFont::Normal);
+       QFont fixedFont("", 8, QFont::Normal);
+       fixedFont.setStyleHint(QFont::TypeWriter);
        text->setFont(fixedFont);
 ////   layout->setSizeConstraint(QLayout::SetFixedSize);
        setLayout(layout);