9 Commits

Author SHA1 Message Date
Nyall Dawson
f694f75f5d Add QgsTemporaryCursorOverride class
Temporarily sets a QApplication override cursor for the lifetime
of the object, then removes it

Makes it easier to ensure that the override is always removed
regardless of the exit path taken.
2018-03-16 10:57:52 +11:00
Nyall Dawson
a15b54d997 Swap missing 0->nullptr and add missing overrides 2017-12-12 21:14:58 +11:00
Matthias Kuhn
1cef982614 Fix build warning 2017-12-04 14:57:32 +01:00
Nathan Woodrow
57dc9deb06
Add API to ease saving and restoring widget geometry. (#5615)
Usage:
 - QgsGui::instance()->enableAutoGeometryRestore( this ); just
after setupUi in your widgets to enable.
 - Remove any calls to saveGeometry() and restoreGeometry() in your
widgets.
2017-12-04 13:41:42 +10:00
Nyall Dawson
04a9cd9211 Add more consistency to doxygen formatting 2017-10-06 08:19:00 +10:00
Nyall Dawson
49ad7836d3 Recommend that QgsFontButton is used instead of getFont 2017-07-06 19:56:39 +10:00
Denis Rouzaud
54c6291378 script to write include SIP files 2017-06-28 10:45:51 +02:00
Matthias Kuhn
cb1f98f020 Replace QString::null with QString()
Deprecated sind Qt 5.9
2017-06-16 16:27:45 +02:00
Nyall Dawson
ac94345331 Rename QgisGui to QgsGuiUtils
Better reflects what this namespace contains, and replaces the
non-standard Qgis prefix with the Qgs standard
2017-05-15 07:33:52 +10:00