7 Commits

Author SHA1 Message Date
Nyall Dawson
e5f581405e Allow clicking mouse back button on stacked panel widgets
Only works if click occurs outside of widgets - we probably should
start ignoring clicks which aren't left/middle/right in any
mouse event handlers
2017-03-17 13:57:53 +10:00
Nyall Dawson
7aff3e784c Flip panel connects to new style 2017-03-17 13:55:26 +10:00
Denis Rouzaud
e7079eead9 run astyle on src/gui 2017-03-03 09:09:37 +01:00
Nyall Dawson
4166a3ea62 Fix most clazy qstring-unneeded-heap-allocations warnings
By flipping string literals to QStringLiteral/QLatin1String

see

https://woboq.com/blog/qstringliteral.html
2016-10-24 15:26:24 +10:00
Nyall Dawson
37e3dd76c4 When taking main widget from QgsPanelWidgetStack, auto accept
all open child panel widgets

Avoids the stack state becoming inconsistent because child
panel widgets from a different main panel are still present

And add unit tests for QgsPanelWidgetStack
2016-10-06 17:36:23 +10:00
Nyall Dawson
fbdc414957 Rename methods in QgsPanelWidgetStack for consistency 2016-10-06 17:36:23 +10:00
Nathan
e097443771 Fix globe plugin 2016-07-07 10:27:04 +10:00