qt5base-lts/examples
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
..
aggregate
corelib Fix compilation without sharedmemory 2017-01-05 08:38:33 +00:00
dbus Use qtConfig where appropriate 2017-01-27 10:38:46 +00:00
embedded Updated license headers 2016-01-21 18:55:32 +00:00
gui Modernize rasterwindow/openglwindow examples to use requestUpdate() 2016-09-22 16:45:15 +00:00
network Merge remote-tracking branch 'origin/5.8' into dev 2017-01-25 20:06:06 +01:00
opengl Merge remote-tracking branch 'origin/5.8' into dev 2017-01-25 20:06:06 +01:00
qmake Unify license header usage. 2016-03-29 10:20:03 +00:00
qpa Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
qtconcurrent prune vestiges of DEPLOYMENT_PLUGIN 2016-12-23 13:25:41 +00:00
qtestlib Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00
sql prune vestiges of DEPLOYMENT_PLUGIN 2016-12-23 13:25:41 +00:00
touch Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
widgets QRegularExpression example: Handle empty patterns 2017-02-09 08:16:43 +00:00
xml QXmlStream{Reader,Writer} don't need QtXml 2017-01-31 17:54:35 +00:00
examples.pro fix build of examples subdir with -no-gui 2016-10-10 16:59:19 +00:00
README

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.