135 Commits

Author SHA1 Message Date
Martin Dobias
7064704868 [3d] Have 3D View tab in vector layer properties (fixes #17595)
(only when 3D support is enabled)
2017-12-06 09:31:17 +01:00
Matthias Kuhn
140b9568b9
Merge pull request #5467 from signedav/propertieslayout
Propertieslayout Fields And Forms Redesign
2017-11-08 17:46:11 +01:00
David
c227a9e5db layout and remove fieldproperties
icons and made naming
inputs from the pull request
remove old fieldpropertie-stuff
2017-11-06 18:53:20 +01:00
Borys Jurgiel
c315eb3f6a Reimplement QgsOptionsDialogBase::optionsStackedWidget_CurrentChanged in derived classes rather than duplicate it 2017-11-06 18:11:40 +01:00
signedav
d097de4d6e Merge branch 'master' into propertieslayout 2017-10-26 19:26:10 +02:00
Blottiere Paul
fc0ebb783d Allow user to create its own auxiliary field 2017-10-09 05:13:59 +01:00
Blottiere Paul
4fa3400981 Properly update layer settings when an auxiliary field is deleted 2017-10-09 05:13:59 +01:00
Blottiere Paul
070cc6aac0 Initialise pointers in header for QActions 2017-10-09 05:01:35 +01:00
Blottiere Paul
4a8fce2b00 Implement delete field action 2017-10-09 05:01:34 +01:00
Blottiere Paul
dcec98dfda Implement export action 2017-10-09 05:01:34 +01:00
Blottiere Paul
bca8973465 Implement delete action 2017-10-09 05:01:34 +01:00
Blottiere Paul
e36c5e2d41 Implement clear action 2017-10-09 05:01:34 +01:00
Blottiere Paul
8826a8abaa Update auxiliary storage tab and data defined buttons according to auxiliary fields 2017-10-09 05:01:34 +01:00
Blottiere Paul
37783f7444 [needs-doc] Auxiliary layers can be created from the auxiliary storage tab 2017-10-09 05:01:34 +01:00
Nyall Dawson
1429f2c778 Remove autoconnected slots, pt 2 2017-10-09 08:48:23 +10:00
Nyall Dawson
04a9cd9211 Add more consistency to doxygen formatting 2017-10-06 08:19:00 +10:00
Matthias Kuhn
d2f11b34b9
Merge remote-tracking branch 'qgis/master' into propertieslayout 2017-09-28 14:48:49 +02:00
Nyall Dawson
a87d352bd7 Run clang-tidy modernize-use-default-member-init to move member
initialization to headers (c++11 style)
2017-09-27 05:02:34 +10:00
Etienne Trimaille
ba81068f49 [FEATURE] [needs-docs] Metadata editor
Adds a new metadata tab to layer properties, representing the new metadata model from QEP #91
2017-09-23 14:08:32 +10:00
Matthias Kuhn
846fef2013
Doxygen 2017-09-21 10:04:26 +02:00
Matthias Kuhn
813e9d32b0
Remove dummy method 2017-09-21 09:28:53 +02:00
Matthias Kuhn
7b14d4870d
Move definition to class 2017-09-21 09:28:52 +02:00
Nyall Dawson
851c081105 Remove use of deprecated header 2017-09-11 17:10:31 +10:00
Nyall Dawson
07e12e2832 Replace reimplemented default methods by = default
Using clang-tidy modernize-use-equals-default
2017-09-11 17:10:31 +10:00
David
8f895f6c64 QEP 37: Fields And Forms Redesign - interim status 2017-08-21 08:40:24 +02:00
Jorge Gustavo Rocha
fe59a19e17 Change all ocurrences on_buttonBox_helpRequested to showHelp
Add help button to 3 dialogs
Fix missing QStringLiteral
Fix CMakeLists.txt indentation
Fix qhelp.h and qgis_sip.h includes with <>
2017-08-15 23:51:03 +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
Etienne Trimaille
c4ad9505fb [needs-docs] update metadata viewer and review UI for vector layer dialog (#4316)
Funded by WorldBank/GFDRR
2017-04-12 23:04:53 +02:00
Nyall Dawson
04d5862bad @brief -> \brief 2017-04-03 13:18:35 +10: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
Matthias Kuhn
f33aabd90a Completely move layer order to core 2017-03-23 15:29:12 +01:00
Denis Rouzaud
dccf8c9e13 run astyle on src/app 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
Nyall Dawson
aed6c735a6 Swap QScopedPointer to std::unique_ptr
Why?
- no benefits to QScopedPointer over std::unique_ptr
- unlike QScopedPointer, std::unique_ptr has no overhead
over regular pointers
- using standard language features makes it more likely that
compilers can optimise this use and static analysers can
correctly handle code using unique_ptrs
- QScopedPointer has an (IMO) uncertain future (given that
Qt is dropping features which have become part of the c++
standard). Better to port now before wider use of QScopedPointer
in the codebase!
2017-02-07 12:08:57 +10:00
Martin Dobias
7683cfacd3 Rework vector joins so they do not use QgsProject::instance()
The basic idea is to split reading of XML definition and resolution of layer IDs into layers.

Also includes some cleanups in QgsProject and improvements in QgsVectorLayerJoinInfo.
2017-01-31 09:33:02 +08:00
Alexander Bruy
57535763d7 use new QgsHelp where possible instead of builtin context help 2017-01-23 10:54:45 +02:00
Denis Rouzaud
b119744773 replace cancelling, cancelled and cancellation by canceling, canceled and cancelation, respectively (#4000)
* replace cancelling and cancelled by canceling and canceled, respectively

see https://github.com/qgis/qgis3_UIX_discussion/issues/19

* replace cancellation by cancelation
2017-01-16 22:27:14 +01:00
Matthias Kuhn
38a8ddacd9 Add qgis_app.h with APP_EXPORT macro 2017-01-05 00:12:11 +01:00
Nyall Dawson
1367fd09fc Prepare commit converts single line doxygen block format
Flips single line doxygen comments to use the proper single line
format:

/*!< comment */   to   //!< Comment

and

/** comment */    to   //! Comment
2016-10-25 09:17:39 +10:00
Hugo Mercier
1a5a7c5905 [Feature] Data dependencies between layers
This allows to declare data dependencies between layers. A data
dependency occurs when a data modification in a layer, not by direct
user manipulation may modify data of other layers.
This is the case for instance when geometry of a layer is updated by a
database trigger after modification of another layer's geometry.
2016-08-31 09:22:09 +02:00
Matthias Kuhn
58ea21124e Streamline expression context generation (#3350)
* Save more data to QML

 * Virtual fields
 * Map tips
 * Display expression
 * Read only flag

* Streamline expression context generation

Whenever an object is able to generate an expression context it
implements the method createExpressionContext() declared in
QgsExpressionContextGenerator.

This makes a cleaner API and allows using QgsFieldExpressionWidget and
QgsDataDefinedButton from python because standard OO programming
approaches are used instead of callbacks and void pointers.

* Colorize output of doc and sip tests

* Fix build

* Fix sip complaints

* Fix rebase problems

* Workaround failing bindings test
2016-08-10 19:44:30 +02:00
Juergen E. Fischer
0688621046 scripts/replacev2.sh run 2016-08-10 12:08:52 +02:00
Matthias Kuhn
2cf9243edb Split displayField into displayExpression and mapTipTemplate (#1973)
Previously there was the expressionField (a field name or an expression)
mainly used for the feature list in the form view of the dual view.
On the other hand there was the displayField which could contain either
a simple field name or a complex HTML structure with embedded expressions.
And to know what it was you could compare it's content with the field names, if
a field name matched, you used it as a displayField (original purpose) and
if not... well, you could deal with HTML if you had a use for it.

The main problem is that there are two different usages for this kind of
thing

 * plain text identifier (field or expression)
 * pretty, rich text feature info

This commit cleans up with this. You want rich text and a lot of info:
go for mapTipTemplate.
You want a plain text string to identify features: go for
the displayExpression.
2016-08-02 16:58:58 +02:00
Martin Dobias
31c75ef22e Remove QgsLabel and QgsLabelAttributes + remove QgsPalLabeling from renderer jobs 2016-07-20 18:35:20 +08:00
Nyall Dawson
c628c0f434 Rework includes to forward declare as much as possible
Should speed up recompilation when headers change
2016-07-18 19:10:19 +10:00
Nathan
fdf16e3c92 Rename QgsLayerStylingPanelFactory to QgsMapLayerConfigWidgetFactory
- Move QgsMapLayerPropertiesFactory into single factory object for
  dock and properties
2016-07-06 23:03:43 +10:00
Nathan Woodrow
03ea9fb9ca Remove unused variable 2016-06-20 11:16:13 +10:00
Nathan Woodrow
7a572c4ff8 [style dock] Refactor API. Move back button outside scrollarea.
Clean up API. Remove QgsPanelWidgetPage - no longer needed
QgsPanelWidgetStack widget manages back button and breadcrumb.
QgsPanelWidget manages state of active widget.
2016-06-20 10:48:53 +10:00