Nyall Dawson
ceaf97b204
Remove a totally unused enum
2019-02-09 07:27:39 +10:00
Nyall Dawson
48e05434e4
Dox++
2019-02-09 07:27:39 +10:00
Nyall Dawson
35ddb3b630
[browser] Provide mime data for directory items
...
Allows them to be dragged and dropped to file widgets
2019-02-09 07:27:39 +10:00
Nyall Dawson
d61694cb42
Deprecate QgsDataItem API for setting item CRS
...
This is no longer used by QGIS (it was only ever used by the standalone
browser)
2019-02-07 04:14:16 +11:00
signedav
1136aabf5b
delete layer action only on items that have capability "delete"
...
check if the item with the menu has this capability and only handle the selected items with this capabiltiy
2018-11-21 10:46:39 +01:00
signedav
a1ea0ac540
action deleteLayer in the dataitemproviders
...
implemented for derived functions in:
- `QgsGeoPackageAbstractLayerItem`
- `QgsSLLayerItem`
- `QgsPGLayerItem`
- `QgsMssqlLayerItem`
2018-11-20 10:49:50 +01:00
signedav
fa062461b6
pass items to delete layer activity
2018-11-15 09:10:00 +01:00
Nyall Dawson
48e7e204c0
Move some browser directory action handling from core/gui to app
2018-11-04 21:07:27 +10:00
Nyall Dawson
5c5f2ed7e3
Add method to get QgsLayerItem::LayerType from a map layer
2018-11-01 20:41:08 +10:00
Nyall Dawson
b2df588a38
Fix see also link
2018-10-11 17:52:47 +10:00
Nyall Dawson
5beb4e2b8d
Followup 9cad526, allow item rename through browser model
2018-10-11 17:52:47 +10:00
Denis Rouzaud
9fa8c356dd
make QgsWkbTypes a Q_GADGET and declare GeometryType as Q_ENUM ( #8024 )
...
* make QgsWkbTypes a Q_GADGET and declare GeometryType as Q_ENUM
* include QObject
* remove extra include
* move QgsWkbTypes to moc headers
* run sip_include
2018-10-05 10:25:35 -08:00
nirvn
3235fb5422
[ui] resurrect home folder
2018-10-03 14:03:40 +07:00
Nyall Dawson
d50ccff69e
[browser] Fix tiny folder icons on hidpi screens
...
QStyle::standardPixmap is deprecated and not hi-dpi friendly.
Unfortunately, there's no equivalent of QIcon::addPixmap
for QIcons themselves -- so it's **impossible** in current Qt
API to handle the ON/OFF icon states.
Believe me... there's NOOOOOOO way. I've looked. I've tried.
It's not possible.
This means we have to change the logic for showing open/closed
folders in browser. This commit revises the logic to show the
open icon for any *populated* folders, regardless of whether
they are opened or not.
2018-10-01 09:15:47 +10:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
c864d22d1f
Add "get ..." to doxygen compliance blacklist
...
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
1c615c15cc
More documentation compliance
...
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00