Mercurial > hg > octave-max
comparison libgui/src/settings-dialog.cc @ 15352:a9fd6821eedf
GUI: recognize editor prefences for long title names; changed default value to false
* file-editor-tab.cc (file-editor-tab::file-editor-tab): read long title bool from settings
* settings-dialog.cc (settings-dialog::settings-dialog): change long title default to false
author | Thorsten Liebig <Thorsten.Liebig@gmx.de> |
---|---|
date | Tue, 11 Sep 2012 10:50:43 +0200 |
parents | ae9079bbc627 |
children | 842ab161c10a |
comparison
equal
deleted
inserted
replaced
15349:450fedd44176 | 15352:a9fd6821eedf |
---|---|
43 ui->editor_showLineNumbers->setChecked (settings->value ("editor/showLineNumbers",true).toBool () ); | 43 ui->editor_showLineNumbers->setChecked (settings->value ("editor/showLineNumbers",true).toBool () ); |
44 ui->editor_highlightCurrentLine->setChecked (settings->value ("editor/highlightCurrentLine",true).toBool () ); | 44 ui->editor_highlightCurrentLine->setChecked (settings->value ("editor/highlightCurrentLine",true).toBool () ); |
45 ui->editor_codeCompletion->setChecked (settings->value ("editor/codeCompletion",true).toBool () ); | 45 ui->editor_codeCompletion->setChecked (settings->value ("editor/codeCompletion",true).toBool () ); |
46 ui->editor_fontName->setCurrentFont (QFont (settings->value ("editor/fontName","Courier").toString()) ); | 46 ui->editor_fontName->setCurrentFont (QFont (settings->value ("editor/fontName","Courier").toString()) ); |
47 ui->editor_fontSize->setValue (settings->value ("editor/fontSize",10).toInt ()); | 47 ui->editor_fontSize->setValue (settings->value ("editor/fontSize",10).toInt ()); |
48 ui->editor_longWindowTitle->setChecked (settings->value ("editor/longWindowTitle",true).toBool ()); | 48 ui->editor_longWindowTitle->setChecked (settings->value ("editor/longWindowTitle",false).toBool ()); |
49 ui->terminal_fontName->setCurrentFont (QFont (settings->value ("terminal/fontName","Courier").toString()) ); | 49 ui->terminal_fontName->setCurrentFont (QFont (settings->value ("terminal/fontName","Courier").toString()) ); |
50 ui->terminal_fontSize->setValue (settings->value ("terminal/fontSize",10).toInt ()); | 50 ui->terminal_fontSize->setValue (settings->value ("terminal/fontSize",10).toInt ()); |
51 ui->showFilenames->setChecked (settings->value ("showFilenames").toBool()); | 51 ui->showFilenames->setChecked (settings->value ("showFilenames").toBool()); |
52 ui->showFileSize->setChecked (settings->value ("showFileSize").toBool()); | 52 ui->showFileSize->setChecked (settings->value ("showFileSize").toBool()); |
53 ui->showFileType->setChecked (settings->value ("showFileType").toBool()); | 53 ui->showFileType->setChecked (settings->value ("showFileType").toBool()); |