You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- in unique value and graduated symbol dialogs, show symbol previews in classification lists
- tidy up for raster props dialog (PeteE I finally capitulated and used a stack widget)
- use a label instead of a textbrowser in detailed item widget
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8521 c8812cc2-4d05-0410-92ff-de0c093fc19c
//test, if lower_bound is numeric or not (making a subclass of QString would be the proper solution)
192
+
bool lbcontainsletter = false;
193
+
for (int j = 0; j < lower_bound.length(); j++)
194
+
{
195
+
if (lower_bound.ref(j).isLetter())
196
+
{
197
+
lbcontainsletter = true;
198
+
}
199
+
}
200
+
201
+
//test, if upper_bound is numeric or not (making a subclass of QString would be the proper solution)
202
+
bool ubcontainsletter = false;
203
+
for (int j = 0; j < upper_bound.length(); j++)
204
+
{
205
+
if (upper_bound.ref(j).isLetter())
206
+
{
207
+
ubcontainsletter = true;
208
+
}
209
+
}
210
+
if (lbcontainsletter == false && ubcontainsletter == false && lower_bound.length() > 0 && upper_bound.length() > 0) //only add the item if the value bounds do not contain letters and are not null strings
//test, if lower_bound is numeric or not (making a subclass of QString would be the proper solution)
192
-
bool lbcontainsletter = false;
193
-
for (int j = 0; j < lower_bound.length(); j++)
194
-
{
195
-
if (lower_bound.ref(j).isLetter())
196
-
{
197
-
lbcontainsletter = true;
198
-
}
199
-
}
200
-
201
-
//test, if upper_bound is numeric or not (making a subclass of QString would be the proper solution)
202
-
bool ubcontainsletter = false;
203
-
for (int j = 0; j < upper_bound.length(); j++)
204
-
{
205
-
if (upper_bound.ref(j).isLetter())
206
-
{
207
-
ubcontainsletter = true;
208
-
}
209
-
}
210
-
if (lbcontainsletter == false && ubcontainsletter == false && lower_bound.length() > 0 && upper_bound.length() > 0) //only add the item if the value bounds do not contain letters and are not null strings
0 commit comments