OSDN Git Service
(root)
/
gefu
/
Gefu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
内蔵テキストビューアの行間を設定できるようにした
[gefu/Gefu.git]
/
preferencedialog.cpp
diff --git
a/preferencedialog.cpp
b/preferencedialog.cpp
index
38ac0a2
..
58fea0d
100644
(file)
--- a/
preferencedialog.cpp
+++ b/
preferencedialog.cpp
@@
-100,6
+100,7
@@
PreferenceDialog::PreferenceDialog(QWidget *parent) :
setFont(ui->hvFontSpec, prefs.getHexViewFont());
ui->lineHeight->setValue(prefs.getLineHeight());
setFont(ui->hvFontSpec, prefs.getHexViewFont());
ui->lineHeight->setValue(prefs.getLineHeight());
+ ui->tvLineHeight->setValue(prefs.getTextViewLineHeight());
// [プログラムパス]
ui->editorPath->setText(prefs.getEditorPath());
// [プログラムパス]
ui->editorPath->setText(prefs.getEditorPath());
@@
-504,6
+505,7
@@
void PreferenceDialog::accept()
prefs.setHexViewFont(ui->hvFontSpec->font());
prefs.setLineHeight(ui->lineHeight->value());
prefs.setHexViewFont(ui->hvFontSpec->font());
prefs.setLineHeight(ui->lineHeight->value());
+ prefs.setTextViewLineHeight(ui->tvLineHeight->value());
// [プログラムパス]
prefs.setEditorPath(ui->editorPath->text());
// [プログラムパス]
prefs.setEditorPath(ui->editorPath->text());