Vikram Ambrose
790fc2ff28
Replace Nokia based FancyTabWidget with standard QTabWidget ( #5956 )
...
* Replace Nokia sidebar widget with QTabWidget
The old sidebar widget was written by Nokia 10 years ago
and was a hand made hardcoded mess of widgets trying to
emulate a QTabWidget.
This commit completely replaces it with a widget of the
same name (FancyTabWidget) but is a much simpler subclass
of the standard QTabWidget allowing for a 50% code reduction.
There is still some manual draw code copied over to get the
exact same look of the previous widget but this is not strictly
necessary and can be later refactored with simpler drawControl
code based on styling preferences.
Benefits:
- 50% code reduction
- Easier to understand standard QTabWidget mechanics
- Built-in support for re-arranging and closing tabs
* Save and restore sidebar tab order
Allow the user to rearrange the tab order by dragging
tabs to a new location. Tab order is saved on exit and restored
on start
* Fix some code formatting issues
2018-01-10 09:22:05 +00:00
..
2015-05-18 14:13:32 -04:00
2014-02-10 16:03:54 +01:00
2015-05-18 14:13:32 -04:00
2014-12-18 23:35:21 +01:00
2014-02-10 16:03:54 +01:00
2010-06-10 22:09:35 +00:00
2017-03-27 12:57:24 +01:00
2014-02-10 16:03:54 +01:00
2014-02-07 16:34:20 +01:00
2014-02-10 16:03:54 +01:00
2013-05-13 17:40:00 +02:00
2017-03-07 11:46:54 +00:00
2017-03-06 18:47:34 +00:00
2017-03-06 18:21:27 +00:00
2014-02-10 14:43:32 +01:00
2014-02-10 16:03:54 +01:00
2014-02-10 14:43:32 +01:00
2014-02-21 17:30:46 +01:00
2012-06-28 11:40:13 +02:00
2018-01-03 15:24:56 +00:00
2014-02-07 16:34:20 +01:00
2018-01-03 15:24:56 +00:00
2015-11-12 03:16:00 -06:00
2014-02-07 16:34:20 +01:00
2011-08-14 00:07:10 +01:00
2017-11-21 10:00:36 +00:00
2014-02-07 16:34:20 +01:00
2017-11-21 10:00:36 +00:00
2014-02-07 16:34:20 +01:00
2014-02-10 16:03:54 +01:00
2012-09-26 18:56:48 +02:00
2014-02-07 16:34:20 +01:00
2014-02-10 16:03:54 +01:00
2011-10-26 14:59:50 +02:00
2016-01-08 15:09:07 +00:00
2016-01-08 15:09:07 +00:00
2016-02-11 15:30:51 +00:00
2016-02-09 21:56:22 +01:00
2016-07-25 11:45:57 +01:00
2017-08-29 02:09:05 +02:00
2014-02-10 16:03:54 +01:00
2013-04-26 20:28:58 -07:00
2014-02-10 14:43:32 +01:00
2014-02-07 16:34:20 +01:00
2014-02-07 16:34:20 +01:00
2014-02-10 16:03:54 +01:00
2014-02-06 16:51:39 +01:00
2010-06-10 22:09:35 +00:00
2015-10-13 22:35:49 -05:00
2014-02-07 16:34:20 +01:00
2015-02-18 18:03:46 +01:00
2017-05-30 21:25:24 +01:00
2017-05-30 21:25:24 +01:00
2016-01-08 15:09:07 +00:00
2016-01-08 15:09:07 +00:00
2014-03-28 14:55:04 +01:00
2014-03-28 14:55:04 +01:00
2018-01-10 09:22:05 +00:00
2017-08-09 14:12:36 +01:00
2016-12-21 16:57:04 +00:00
2015-10-13 22:35:49 -05:00
2014-02-07 16:34:20 +01:00
2011-08-14 00:07:10 +01:00
2016-02-11 15:15:38 +00:00
2014-11-13 22:31:49 +01:00
2014-11-13 22:31:49 +01:00
2016-02-11 04:41:37 -06:00
2014-02-07 16:34:20 +01:00
2014-09-16 12:54:35 +02:00
2017-07-22 18:57:33 +01:00
2017-07-22 18:57:33 +01:00
2014-11-05 00:42:55 +01:00
2014-02-10 14:43:32 +01:00
2014-02-10 16:03:54 +01:00
2010-08-14 11:51:50 +00:00
2016-01-08 15:09:07 +00:00
2014-04-02 11:54:14 +02:00
2016-01-08 15:09:07 +00:00
2014-02-07 16:34:20 +01:00
2016-06-01 21:58:35 +03:00
2016-05-30 02:12:03 +03:00
2016-01-08 15:09:07 +00:00
2016-01-08 15:09:07 +00:00
2017-01-11 18:08:43 +00:00
2017-01-11 18:51:12 +00:00
2013-04-15 22:03:02 +10:00
2014-02-07 16:34:20 +01:00
2016-01-08 15:09:07 +00:00
2014-02-07 16:34:20 +01:00
2014-02-10 16:03:54 +01:00
2016-12-21 16:57:04 +00:00
2016-12-21 16:57:04 +00:00
2016-12-21 16:57:04 +00:00
2016-02-11 04:41:37 -06:00
2014-03-28 14:55:04 +01:00
2015-12-20 19:07:15 +01:00
2015-12-20 19:07:15 +01:00
2012-01-07 21:51:02 +00:00
2014-02-10 14:43:32 +01:00
2014-02-21 17:30:46 +01:00
2016-01-08 15:09:07 +00:00
2016-01-08 15:09:07 +00:00