18 Commits

Author SHA1 Message Date
Nyall Dawson
a15b54d997 Swap missing 0->nullptr and add missing overrides 2017-12-12 21:14:58 +11:00
Nyall Dawson
04a9cd9211 Add more consistency to doxygen formatting 2017-10-06 08:19:00 +10:00
Denis Rouzaud
f5e66dd227 [sipify] handle constrained annotation 2017-05-24 14:49:28 +02:00
Denis Rouzaud
563e7c17fc sipify gui part 3 2017-05-24 14:49:28 +02:00
Denis Rouzaud
d3bc0e37a7 [sip] mass introduction of annotations into headers 2017-05-02 10:11:50 +02:00
Nyall Dawson
e47073b1e1 \return -> \returns (for consistency) 2017-04-03 13:18:35 +10:00
Nyall Dawson
e4daf8ea62 @return(s) -> \return(s) 2017-04-03 13:18:13 +10:00
Nyall Dawson
11dcfd935c @param -> \param 2017-04-03 13:17:27 +10:00
Denis Rouzaud
e7079eead9 run astyle on src/gui 2017-03-03 09:09:37 +01:00
Nyall Dawson
d19e70700f Ensure all pointer variables are initialized to nullptr 2017-02-18 20:23:18 +10:00
Matthias Kuhn
4c1f178ac9 Add qgis_gui.h with GUI_EXPORT macro 2017-01-05 00:12:11 +01:00
Nyall Dawson
0a056f8a1f Add doxygen test to force use of \ingroup for classes
Using the group tag helps keep the API docs organized
2016-07-04 19:57:13 +10:00
Nyall Dawson
576875e998 Followup 320c696 use clang-modernize to replace 0/NULL use with nullptr 2015-12-15 11:24:51 +11:00
Matthias Kuhn
be01b7eec5 [FEATURE] Add N:M relation editing possibilities
This adds the possibility to manage data on a normalized relational
database in N:M relations. On the relation editor in a form, the tools
to add, delete, link and unlink work (also) on the linking table if a
relation is visualized as N:M relation.

Configuration is done through the fields tab where on the relation a
second relation can be chosen (if there is a suitable relation in terms
of a second relation on the linking table).

Limitations
===========

QGIS is not a database management system.

It is based on assumptions about the underlying database system. In
particular it expects

 * A `ON DELETE CASCADE` or similar measure on the second relation
 * Does not take care of setting the primary key when adding features.
   Either users need to be instructed to set them manually or - if it's a
   database derived value - the layers need to be in transaction mode
   (currently only activatable through the API)
2015-12-08 15:49:01 +01:00
elpaso
ba4895defd Implemented setFeatureSelectionManager in QgsListView
Partially fixes #11266

 * now passing editor context to QgsFeatureSelectionDlg
   (otherwise fails on assert parentContext.vectorLayerTools())
 * still crashes at the provider level after saving
 * unlink still doesn't work
2015-11-04 10:37:43 +01:00
Matthias Kuhn
1e6f673a23 Update email address 2015-08-30 13:00:15 +02:00
Matthias Kuhn
9873782e65 Add GUI_EXPORT and warning fix 2014-05-22 23:03:01 +02:00
Matthias Kuhn
dc3b56a13c Add relations capabilites and widgets 2013-10-07 16:17:43 +02:00