30 Commits

Author SHA1 Message Date
Nyall Dawson
4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00
Nyall Dawson
fea2726c1c Flip autoconnected slots to explicit connections, pt 1 2017-10-09 07:30:52 +10:00
Nyall Dawson
04a9cd9211 Add more consistency to doxygen formatting 2017-10-06 08:19:00 +10:00
Harrissou Sant-anna
35cbfa0087 Replace check box by checkbox 2017-07-02 23:25:40 +02:00
Denis Rouzaud
ed915e75a2 sipify gui part 1 2017-06-08 08:52:02 +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
Juergen E. Fischer
0a1517bfaa header cleanups 2017-03-04 02:38:15 +01:00
Juergen E. Fischer
a10c890383 More QgsSettings updates:
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Denis Rouzaud
e7079eead9 run astyle on src/gui 2017-03-03 09:09:37 +01:00
Matthias Kuhn
4c1f178ac9 Add qgis_gui.h with GUI_EXPORT macro 2017-01-05 00:12:11 +01:00
Matthias Kuhn
e9b4b0c666 Pass enums by value 2016-07-23 00:20:29 +02:00
Nyall Dawson
576875e998 Followup 320c696 use clang-modernize to replace 0/NULL use with nullptr 2015-12-15 11:24:51 +11:00
Nyall Dawson
c49b5b777f Change a lot of arguments to const references in core/gui
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Denis Rouzaud
9e3183c63f Revert "sort includes"
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73 sort includes 2015-06-10 13:59:08 +02:00
Juergen E. Fischer
313f2c8de0 OVERRIDE macro breaks globeplugin (OVERRIDE is an enum value in OpenSceneGraph)
replace 'OVERRIDE' macro with 'override' keyword in code and define it an empty
macro where C++11 is not available (followup 466f2563efd)
2015-01-16 08:22:52 +01:00
Nyall Dawson
6cb41149ad Add OVERRIDE to definitions (pt 1) 2015-01-14 19:39:35 +11:00
Carl Simonson
665f0a32fe Replace WFlags with WindowFlags
It has long been in Qt 4 that the WFlags window flags argument has been
renamed to WindowFlags. In fact, WFlags is just a typedef to WindowFlags.
In Qt 5, this will go away, so we can change this now to make transition
easier in the future.

This should not have any affect on API or ABI, as the symbol names already
have WindowFlags in them anyway.

This change concentrates on the sources in the src directory. There are
a few more places in the python directory that can be done later.
2014-03-27 10:43:11 +01:00
nyalldawson
a3573cedf4 Add parameter for QgsMessageViewer to disable deleteOnClose, allows retrieving checkBoxState after dialog has closed 2013-05-06 08:39:29 +10:00
Juergen E. Fischer
5a6d3cebcc remove svn Id tags 2011-05-26 23:05:55 +02:00
timlinux
e8b9f2d024 Updates for doxygen for gui module
git-svn-id: http://svn.osgeo.org/qgis/trunk@9221 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-30 23:38:26 +00:00
jef
4b46398bc4 astyle re-indentation & iostream=>QgsDebugMsg migration cleanup
git-svn-id: http://svn.osgeo.org/qgis/trunk@9138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 21:37:31 +00:00
jef
7e4fd6ff5c fix python support for QgsMessageViewer
git-svn-id: http://svn.osgeo.org/qgis/trunk@7669 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-27 12:31:41 +00:00
g_j_m
286c3e4245 Fix for ticket #611 (add a "don't show this again toggle" to the snap
vertex warning dialog box)
Also includes a small re-organisation of the QgsMessageViewer class


git-svn-id: http://svn.osgeo.org/qgis/trunk@7668 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-27 09:14:36 +00:00
wonder
46a2d125a2 Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00
g_j_m
0527a4b2e8 Provide an optional checkbox in the message viewer for such things as
a "don't show this message again" use.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5835 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-09-18 09:48:34 +00:00
g_j_m
32fcc4a4db - Change to API for QgsMessageViewer (allow plain text or html input,
required changes in all code that uses QgsMessageViewer)

- Improvements to messages when qgis can't find a key column in a
postgres table
- Fix a couple of bugs when loading postgres tables (invalid layers
would appear to load, giving a legend entry, but not show anything on
the map)
- Tidy up of #includes in postgres files


git-svn-id: http://svn.osgeo.org/qgis/trunk@4911 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-02-28 06:50:37 +00:00
g_j_m
6c8b16b991 Migrate qt3 stuff to qt4.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4779 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-29 08:45:51 +00:00
telwertowski
36547f4972 Convert deprecated Qt3 QDialog(parent, name, modal, flags) constructors to Qt4 QDialog(parent, flags) constructors. Use QgisGui::ModalDialogFlags to specify modal dialogs.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4688 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-15 12:08:18 +00:00
timlinux
42636d6ba8 Moved all sources for gui lib into src/gui and updated all dependent classes and makefiles
git-svn-id: http://svn.osgeo.org/qgis/trunk@4619 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-08 23:18:32 +00:00