|
940 | 940 | </rect>
|
941 | 941 | </property>
|
942 | 942 | <layout class="QVBoxLayout" name="verticalLayout_32">
|
943 |
| - <item> |
944 |
| - <widget class="QGroupBox" name="mSimplifyDrawingGroupBox"> |
945 |
| - <property name="title"> |
946 |
| - <string>Fast drawing</string> |
947 |
| - </property> |
948 |
| - <property name="checkable"> |
949 |
| - <bool>true</bool> |
950 |
| - </property> |
951 |
| - <layout class="QGridLayout" name="_12"> |
952 |
| - <item row="0" column="2" colspan="4"> |
953 |
| - <widget class="QLabel" name="label_16"> |
954 |
| - <property name="sizePolicy"> |
955 |
| - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
956 |
| - <horstretch>0</horstretch> |
957 |
| - <verstretch>0</verstretch> |
958 |
| - </sizepolicy> |
959 |
| - </property> |
960 |
| - <property name="text"> |
961 |
| - <string><b>Note:</b> This option enables geometry simplification drawing for fast rendering of the layer.</string> |
962 |
| - </property> |
963 |
| - <property name="margin"> |
964 |
| - <number>2</number> |
965 |
| - </property> |
966 |
| - </widget> |
967 |
| - </item> |
968 |
| - <item row="7" column="2"> |
969 |
| - <widget class="QLabel" name="label_17"> |
970 |
| - <property name="text"> |
971 |
| - <string>Simplification factor (Higher value draws more simplified geometries): </string> |
972 |
| - </property> |
973 |
| - <property name="margin"> |
974 |
| - <number>2</number> |
975 |
| - </property> |
976 |
| - </widget> |
977 |
| - </item> |
978 |
| - <item row="7" column="3"> |
979 |
| - <widget class="QSlider" name="mSimplifyDrawingSlider"> |
980 |
| - <property name="maximumSize"> |
981 |
| - <size> |
982 |
| - <width>100</width> |
983 |
| - <height>16777215</height> |
984 |
| - </size> |
985 |
| - </property> |
986 |
| - <property name="toolTip"> |
987 |
| - <string>Higher value draws more simplified geometries</string> |
988 |
| - </property> |
989 |
| - <property name="minimum"> |
990 |
| - <number>0</number> |
991 |
| - </property> |
992 |
| - <property name="maximum"> |
993 |
| - <number>20</number> |
994 |
| - </property> |
995 |
| - <property name="value"> |
996 |
| - <number>0</number> |
997 |
| - </property> |
998 |
| - <property name="tracking"> |
999 |
| - <bool>true</bool> |
1000 |
| - </property> |
1001 |
| - <property name="orientation"> |
1002 |
| - <enum>Qt::Horizontal</enum> |
1003 |
| - </property> |
1004 |
| - <property name="invertedAppearance"> |
1005 |
| - <bool>false</bool> |
1006 |
| - </property> |
1007 |
| - <property name="invertedControls"> |
1008 |
| - <bool>false</bool> |
1009 |
| - </property> |
1010 |
| - </widget> |
1011 |
| - </item> |
1012 |
| - <item row="7" column="4"> |
1013 |
| - <spacer name="horizontalSpacer_6"> |
1014 |
| - <property name="orientation"> |
1015 |
| - <enum>Qt::Horizontal</enum> |
1016 |
| - </property> |
1017 |
| - <property name="sizeHint" stdset="0"> |
1018 |
| - <size> |
1019 |
| - <width>40</width> |
1020 |
| - <height>20</height> |
1021 |
| - </size> |
1022 |
| - </property> |
1023 |
| - </spacer> |
1024 |
| - </item> |
1025 |
| - <item row="10" column="2" colspan="2"> |
1026 |
| - <widget class="QFrame" name="mSimplifyDrawingPanel"> |
1027 |
| - <property name="minimumSize"> |
1028 |
| - <size> |
1029 |
| - <width>0</width> |
1030 |
| - <height>70</height> |
1031 |
| - </size> |
1032 |
| - </property> |
1033 |
| - <property name="maximumSize"> |
1034 |
| - <size> |
1035 |
| - <width>16777215</width> |
1036 |
| - <height>16777215</height> |
1037 |
| - </size> |
1038 |
| - </property> |
1039 |
| - <property name="frameShape"> |
1040 |
| - <enum>QFrame::Box</enum> |
1041 |
| - </property> |
1042 |
| - <property name="frameShadow"> |
1043 |
| - <enum>QFrame::Raised</enum> |
1044 |
| - </property> |
1045 |
| - <widget class="QLabel" name="mSimplifyDrawingIcon"> |
1046 |
| - <property name="geometry"> |
1047 |
| - <rect> |
1048 |
| - <x>10</x> |
1049 |
| - <y>0</y> |
1050 |
| - <width>60</width> |
1051 |
| - <height>67</height> |
1052 |
| - </rect> |
1053 |
| - </property> |
1054 |
| - <property name="sizePolicy"> |
1055 |
| - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
1056 |
| - <horstretch>0</horstretch> |
1057 |
| - <verstretch>0</verstretch> |
1058 |
| - </sizepolicy> |
1059 |
| - </property> |
1060 |
| - <property name="minimumSize"> |
1061 |
| - <size> |
1062 |
| - <width>60</width> |
1063 |
| - <height>67</height> |
1064 |
| - </size> |
1065 |
| - </property> |
1066 |
| - <property name="maximumSize"> |
1067 |
| - <size> |
1068 |
| - <width>40</width> |
1069 |
| - <height>40</height> |
1070 |
| - </size> |
1071 |
| - </property> |
1072 |
| - <property name="layoutDirection"> |
1073 |
| - <enum>Qt::LeftToRight</enum> |
1074 |
| - </property> |
1075 |
| - <property name="autoFillBackground"> |
1076 |
| - <bool>false</bool> |
1077 |
| - </property> |
1078 |
| - <property name="text"> |
1079 |
| - <string/> |
1080 |
| - </property> |
1081 |
| - <property name="pixmap"> |
1082 |
| - <pixmap resource="../../images/images.qrc">:/images/themes/default/mIconWarn.png</pixmap> |
1083 |
| - </property> |
1084 |
| - <property name="scaledContents"> |
1085 |
| - <bool>false</bool> |
1086 |
| - </property> |
1087 |
| - </widget> |
1088 |
| - <widget class="QLabel" name="mSimplifyDrawingLabel"> |
1089 |
| - <property name="geometry"> |
1090 |
| - <rect> |
1091 |
| - <x>45</x> |
1092 |
| - <y>8</y> |
1093 |
| - <width>391</width> |
1094 |
| - <height>51</height> |
1095 |
| - </rect> |
1096 |
| - </property> |
1097 |
| - <property name="text"> |
1098 |
| - <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
| 943 | + <item> |
| 944 | + <widget class="QGroupBox" name="mSimplifyDrawingGroupBox"> |
| 945 | + <property name="title"> |
| 946 | + <string>Simplify geometry</string> |
| 947 | + </property> |
| 948 | + <property name="checkable"> |
| 949 | + <bool>true</bool> |
| 950 | + </property> |
| 951 | + <layout class="QGridLayout" name="_12"> |
| 952 | + <item row="0" column="2" colspan="3"> |
| 953 | + <widget class="QLabel" name="label_16"> |
| 954 | + <property name="sizePolicy"> |
| 955 | + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| 956 | + <horstretch>0</horstretch> |
| 957 | + <verstretch>0</verstretch> |
| 958 | + </sizepolicy> |
| 959 | + </property> |
| 960 | + <property name="text"> |
| 961 | + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
1099 | 962 | <html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
1100 | 963 | p, li { white-space: pre-wrap; }
|
1101 | 964 | </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
1102 |
| -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> Warning:</span></p> |
1103 |
| -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> Be careful increasing this factor, a further simplification the drawing is faster </span></p> |
1104 |
| -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> but may appear topological distortions in the output map (gaps).</span></p></body></html></string> |
1105 |
| - </property> |
1106 |
| - </widget> |
1107 |
| - </widget> |
1108 |
| - </item> |
1109 |
| - <item row="10" column="4"> |
1110 |
| - <spacer name="horizontalSpacer_7"> |
1111 |
| - <property name="orientation"> |
1112 |
| - <enum>Qt::Horizontal</enum> |
1113 |
| - </property> |
1114 |
| - <property name="sizeHint" stdset="0"> |
1115 |
| - <size> |
1116 |
| - <width>40</width> |
1117 |
| - <height>20</height> |
1118 |
| - </size> |
1119 |
| - </property> |
1120 |
| - </spacer> |
1121 |
| - </item> |
1122 |
| - </layout> |
1123 |
| - </widget> |
1124 |
| - </item> |
1125 |
| - <item> |
| 965 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Note:</span></p> |
| 966 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Enabling this option simplifies geometries in this layer to improve rendering speed. The simplification applies only during rendering of the layer and does not modify the layer geometry.</p></body></html></string> |
| 967 | + </property> |
| 968 | + <property name="wordWrap"> |
| 969 | + <bool>true</bool> |
| 970 | + </property> |
| 971 | + <property name="margin"> |
| 972 | + <number>2</number> |
| 973 | + </property> |
| 974 | + </widget> |
| 975 | + </item> |
| 976 | + <item row="5" column="2"> |
| 977 | + <widget class="QLabel" name="label_17"> |
| 978 | + <property name="text"> |
| 979 | + <string>Simplification factor (higher values result in more simplification): </string> |
| 980 | + </property> |
| 981 | + <property name="margin"> |
| 982 | + <number>2</number> |
| 983 | + </property> |
| 984 | + </widget> |
| 985 | + </item> |
| 986 | + <item row="5" column="3"> |
| 987 | + <widget class="QSlider" name="mSimplifyDrawingSlider"> |
| 988 | + <property name="maximumSize"> |
| 989 | + <size> |
| 990 | + <width>130</width> |
| 991 | + <height>16777215</height> |
| 992 | + </size> |
| 993 | + </property> |
| 994 | + <property name="toolTip"> |
| 995 | + <string>Higher values result in more simplification</string> |
| 996 | + </property> |
| 997 | + <property name="minimum"> |
| 998 | + <number>0</number> |
| 999 | + </property> |
| 1000 | + <property name="maximum"> |
| 1001 | + <number>20</number> |
| 1002 | + </property> |
| 1003 | + <property name="value"> |
| 1004 | + <number>0</number> |
| 1005 | + </property> |
| 1006 | + <property name="tracking"> |
| 1007 | + <bool>true</bool> |
| 1008 | + </property> |
| 1009 | + <property name="orientation"> |
| 1010 | + <enum>Qt::Horizontal</enum> |
| 1011 | + </property> |
| 1012 | + <property name="invertedAppearance"> |
| 1013 | + <bool>false</bool> |
| 1014 | + </property> |
| 1015 | + <property name="invertedControls"> |
| 1016 | + <bool>false</bool> |
| 1017 | + </property> |
| 1018 | + </widget> |
| 1019 | + </item> |
| 1020 | + <item row="8" column="2" colspan="2"> |
| 1021 | + <widget class="QFrame" name="mSimplifyDrawingPanel"> |
| 1022 | + <property name="minimumSize"> |
| 1023 | + <size> |
| 1024 | + <width>0</width> |
| 1025 | + <height>70</height> |
| 1026 | + </size> |
| 1027 | + </property> |
| 1028 | + <property name="maximumSize"> |
| 1029 | + <size> |
| 1030 | + <width>16777215</width> |
| 1031 | + <height>16777215</height> |
| 1032 | + </size> |
| 1033 | + </property> |
| 1034 | + <property name="frameShape"> |
| 1035 | + <enum>QFrame::Box</enum> |
| 1036 | + </property> |
| 1037 | + <property name="frameShadow"> |
| 1038 | + <enum>QFrame::Raised</enum> |
| 1039 | + </property> |
| 1040 | + <widget class="QLabel" name="mSimplifyDrawingIcon"> |
| 1041 | + <property name="geometry"> |
| 1042 | + <rect> |
| 1043 | + <x>10</x> |
| 1044 | + <y>0</y> |
| 1045 | + <width>60</width> |
| 1046 | + <height>67</height> |
| 1047 | + </rect> |
| 1048 | + </property> |
| 1049 | + <property name="sizePolicy"> |
| 1050 | + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
| 1051 | + <horstretch>0</horstretch> |
| 1052 | + <verstretch>0</verstretch> |
| 1053 | + </sizepolicy> |
| 1054 | + </property> |
| 1055 | + <property name="minimumSize"> |
| 1056 | + <size> |
| 1057 | + <width>60</width> |
| 1058 | + <height>67</height> |
| 1059 | + </size> |
| 1060 | + </property> |
| 1061 | + <property name="maximumSize"> |
| 1062 | + <size> |
| 1063 | + <width>40</width> |
| 1064 | + <height>40</height> |
| 1065 | + </size> |
| 1066 | + </property> |
| 1067 | + <property name="layoutDirection"> |
| 1068 | + <enum>Qt::LeftToRight</enum> |
| 1069 | + </property> |
| 1070 | + <property name="autoFillBackground"> |
| 1071 | + <bool>false</bool> |
| 1072 | + </property> |
| 1073 | + <property name="text"> |
| 1074 | + <string/> |
| 1075 | + </property> |
| 1076 | + <property name="pixmap"> |
| 1077 | + <pixmap resource="../../images/images.qrc">:/images/themes/default/mIconWarn.png</pixmap> |
| 1078 | + </property> |
| 1079 | + <property name="scaledContents"> |
| 1080 | + <bool>false</bool> |
| 1081 | + </property> |
| 1082 | + </widget> |
| 1083 | + <widget class="QLabel" name="mSimplifyDrawingLabel"> |
| 1084 | + <property name="geometry"> |
| 1085 | + <rect> |
| 1086 | + <x>45</x> |
| 1087 | + <y>8</y> |
| 1088 | + <width>411</width> |
| 1089 | + <height>51</height> |
| 1090 | + </rect> |
| 1091 | + </property> |
| 1092 | + <property name="text"> |
| 1093 | + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
| 1094 | +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> |
| 1095 | +p, li { white-space: pre-wrap; } |
| 1096 | +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> |
| 1097 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> </span><span style=" font-size:8pt; font-weight:600;">Warning:</span></p> |
| 1098 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> Increasing this factor will further speed up rendering, but may result in gaps </span></p> |
| 1099 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;"> or topological errors in the layer display.</span></p></body></html></string> |
| 1100 | + </property> |
| 1101 | + </widget> |
| 1102 | + </widget> |
| 1103 | + </item> |
| 1104 | + <item row="5" column="4"> |
| 1105 | + <spacer name="horizontalSpacer_6"> |
| 1106 | + <property name="orientation"> |
| 1107 | + <enum>Qt::Horizontal</enum> |
| 1108 | + </property> |
| 1109 | + <property name="sizeHint" stdset="0"> |
| 1110 | + <size> |
| 1111 | + <width>20</width> |
| 1112 | + <height>20</height> |
| 1113 | + </size> |
| 1114 | + </property> |
| 1115 | + </spacer> |
| 1116 | + </item> |
| 1117 | + </layout> |
| 1118 | + </widget> |
| 1119 | + </item> |
| 1120 | + <item> |
1126 | 1121 | <spacer name="verticalSpacer_6">
|
1127 | 1122 | <property name="orientation">
|
1128 | 1123 | <enum>Qt::Vertical</enum>
|
|
0 commit comments