15 Commits

Author SHA1 Message Date
Juergen E. Fischer
a90be95f7b sip sync 2016-02-14 03:50:49 +01:00
Juergen E. Fischer
b5794b2f2d sip coverage fixes:
* make sip coverage test aware that there are less classes where QSci sip
  headers are not available
* exclude properties from members
* fix QgsFeatureIds typedef (fixes missing signal
  QgsVectorLayer.featuresDeleted and others)
* add missing notes for PyNames
* include some missing new methods in bindings
2015-11-08 19:30:39 +00: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
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
Nyall Dawson
3c71498c3e Add some missing /TransferThis/ to sip bindings for QObject parents 2015-02-18 17:35:47 +11:00
Juergen E. Fischer
c4c131ef75 sip sync 2014-05-27 23:32:42 +02:00
Denis Rouzaud
986ffd66f8 collapsible gpbox: scroll on expand property accessible 2014-05-20 10:13:48 +02:00
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Larry Shaffer
0fd52ecf39 Set QgsCollapsibleGroupBox's collapse-on-uncheck to happen only when clicked by user
- This keeps checkable group boxes from being programmatically collapsed when initializing a dialog
2013-04-13 19:12:18 -06:00
Larry Shaffer
e60891c28c Add shift-click modifier to QgsCollapsibleGroupBox
- Expands current group box on shift-click, then collapses any others in sync group
2013-02-26 14:10:09 -07:00
Larry Shaffer
c8ca3761ff Add collapse toggling synchronization to QgsCollapsibleGroupBoxBasic
- Holding Alt modifier key when toggling collapsed state will synchronize the toggling across other boxes with the same syncGroup QString value
- Synchronizes boxes of same syncGroup via recursive search in parent or grandparent widget (if grandparent is not QgisApp)
2013-02-12 14:43:32 -07:00
Larry Shaffer
f4c5bc8a56 Split QgsCollapsibleGroupBox into basic class and subclass that auto-saves collapsed state
- Split authored by Etienne Tourigny
- Add Q_PROPERTY declarations to make some class properties settable for promoted widget in QtDesigner (by Olivier Dalang)
- Update existing .ui files with dynamic properties (but not saveCheckedState, which should be cautiously used)
- Update sip file so both classes are available
2013-02-11 20:24:54 -07:00
Larry Shaffer
1095f98173 Add option to use custom QSettings for QgsCollapsibleGroupBox
- Useful for plugins that may want to store collapsed state in their own QSettings file
2013-02-02 17:16:37 -07:00
Etienne Tourigny
fef272e1a1 QgsCollapsibleGroupBox: rename mSaveState to mSaveCollapsedState and update saveState/restoreState, update raster save dialog 2012-09-25 18:37:37 -03:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00