diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-10-25 20:35:03 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-10-25 20:35:03 (GMT) |
commit | dc1450e47ff30b2b137c0fb65c5e9798f098a419 (patch) | |
tree | 581f242f50a5a524a61c0e64ff5b1764b8466070 /mainwin.cc | |
parent | a201b851e68e75477e0db644d71a0d1fd7608cdd (diff) |
Marius Kintel:
Some patches for MacOS X
Set text editor font to QFont::TypeWriter
git-svn-id: http://svn.clifford.at/openscad/trunk@120 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'mainwin.cc')
-rw-r--r-- | mainwin.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -78,6 +78,10 @@ MainWindow::MainWindow(const char *filename) s1 = new QSplitter(Qt::Horizontal, this); editor = new QTextEdit(s1); + QFont font; + font.setStyleHint(QFont::TypeWriter); + editor->setFont(font); + QWidget *w1 = new QWidget(s1); QVBoxLayout *l1 = new QVBoxLayout(w1); l1->setSpacing(0); |