qt5base-lts/examples/widgets/tools
Friedemann Kleint ee8b61bcf5 QRegularExpression example: Handle empty patterns
Previously, when clearing the pattern by clicking the clear
button, the result match list would display a list of empty
matches since apparently an empty pattern matches as many
times as the subject is long. This is confusing when using the
tool.

Restructure RegularExpressionDialog::refresh() so that it bails
out if the pattern is empty or invalid.

Change-Id: I8119a75db50cead3f64394016e3390a9bf7d0bf7
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2017-02-09 08:16:43 +00:00
..
codecs examples: Use QOverload to select overloaded signals and slots 2016-12-22 14:54:55 +00:00
completer Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
customcompleter Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
echoplugin Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
i18n Change confusing Q_DEAD_CODE_FROM_QT4_FOO define 2016-10-14 08:19:29 +00:00
plugandpaint remove bogus qtConfig(simulator_and_device) condition 2016-10-16 00:12:33 +00:00
regexp Unify license header usage. 2016-03-29 10:20:03 +00:00
regularexpression QRegularExpression example: Handle empty patterns 2017-02-09 08:16:43 +00:00
settingseditor examples: Use QOverload to select overloaded signals and slots 2016-12-22 14:54:55 +00:00
styleplugin Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
treemodelcompleter Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
undo Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
undoframework Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
tools.pro Convert the old feature system 2016-09-15 08:24:10 +00:00