Skip to content
Permalink
Browse files

[ui] improve search widget ordering

  • Loading branch information
nirvn committed Dec 28, 2016
1 parent 94dd1f4 commit d20579462ccab833e21d1539f2ad606577609527
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/gui/editorwidgets/core/qgssearchwidgetwrapper.cpp
@@ -30,10 +30,10 @@ QList<QgsSearchWidgetWrapper::FilterFlag> QgsSearchWidgetWrapper::exclusiveFilte
<< GreaterThanOrEqualTo
<< LessThanOrEqualTo
<< Between
<< IsNotBetween
<< Contains
<< DoesNotContain
<< IsNull
<< IsNotBetween
<< IsNotNull;
}

@@ -61,6 +61,8 @@ QString QgsSearchWidgetWrapper::toString( QgsSearchWidgetWrapper::FilterFlag fla
return QObject::tr( "Less than or equal to (<=)" );
case Between:
return QObject::tr( "Between (inclusive)" );
case IsNotBetween:
return QObject::tr( "Not between (inclusive)" );
case CaseInsensitive:
return QObject::tr( "Case insensitive" );
case Contains:
@@ -71,8 +73,6 @@ QString QgsSearchWidgetWrapper::toString( QgsSearchWidgetWrapper::FilterFlag fla
return QObject::tr( "Is missing (null)" );
case IsNotNull:
return QObject::tr( "Is not missing (not null)" );
case IsNotBetween:
return QObject::tr( "Is not between (inclusive)" );

}
return QString();

1 comment on commit d205794

@nirvn

This comment has been minimized.

Copy link
Contributor Author

@nirvn nirvn commented on d205794 Dec 28, 2016

This insures that between / not between follow one another.

Now (left) vs. before (right):
untitled
Oups, wrong ordering

Please sign in to comment.
You can’t perform that action at this time.