From b8ea949f768e47624d938d73a5de58b230d59f71 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 16 Jan 2019 06:20:54 +0100 Subject: gui/mapping-dialog: show more ruler lines --- gui/lang/nl_NL.ts | 4 ++++ gui/lang/ru_RU.ts | 4 ++++ gui/lang/stub.ts | 4 ++++ gui/lang/zh_CN.ts | 4 ++++ gui/mapping-dialog.cpp | 6 +++--- 5 files changed, 19 insertions(+), 3 deletions(-) (limited to 'gui') diff --git a/gui/lang/nl_NL.ts b/gui/lang/nl_NL.ts index 64ee0621..60b84189 100644 --- a/gui/lang/nl_NL.ts +++ b/gui/lang/nl_NL.ts @@ -121,6 +121,10 @@ Press "clear calibration" to remove any calibration data pertaining to %1° + + %1 cm + + options_dialog diff --git a/gui/lang/ru_RU.ts b/gui/lang/ru_RU.ts index 8e3ca4a7..d40b4775 100644 --- a/gui/lang/ru_RU.ts +++ b/gui/lang/ru_RU.ts @@ -121,6 +121,10 @@ Press "clear calibration" to remove any calibration data pertaining to %1° + + %1 cm + + options_dialog diff --git a/gui/lang/stub.ts b/gui/lang/stub.ts index 932f4348..b383a0d8 100644 --- a/gui/lang/stub.ts +++ b/gui/lang/stub.ts @@ -121,6 +121,10 @@ Press "clear calibration" to remove any calibration data pertaining to %1° + + %1 cm + + options_dialog diff --git a/gui/lang/zh_CN.ts b/gui/lang/zh_CN.ts index 45414302..fa2d512c 100644 --- a/gui/lang/zh_CN.ts +++ b/gui/lang/zh_CN.ts @@ -122,6 +122,10 @@ Press "clear calibration" to remove any calibration data pertaining to %1° + + %1 cm + + options_dialog diff --git a/gui/mapping-dialog.cpp b/gui/mapping-dialog.cpp index 0bfb5068..8a5147cf 100644 --- a/gui/mapping-dialog.cpp +++ b/gui/mapping-dialog.cpp @@ -130,9 +130,9 @@ void mapping_dialog::load() auto update_xstep = [&qfc](int clamp_x) { int value; - if (clamp_x <= c::r20) + if (clamp_x <= c::r30) value = 1; - else if (clamp_x <= c::r30) + else if (clamp_x <= c::r45) value = 5; else value = 10; @@ -146,7 +146,7 @@ void mapping_dialog::load() { default: case c::o_r180: - value = 15; break; + value = 20; break; case c::o_r90: value = 10; break; case c::o_t75: -- cgit v1.2.3