Commit Graph

54 Commits

Author SHA1 Message Date
baldurk 9617bfc390 Add support in RDStyle for checkboxes on group boxes 2018-04-26 12:41:35 +01:00
baldurk 0a91f649f8 Use anti-aliasing for drawing menu items 2018-02-24 23:22:23 +00:00
baldurk 08738f270c Use Highlight/HighlightedText for highlighted menu items, show mnemonics 2018-02-22 19:49:48 +00:00
baldurk 2588207201 Fix tab bar size calculation to account for tab margin 2018-02-22 16:22:51 +00:00
baldurk 4a2242f0a1 Make checkerboard colours update immediately when theme changes 2018-02-21 14:29:36 +00:00
baldurk 9a6a45ca48 Reduce minimum tab width. Refs #866
* I'd like a smarter sizing scheme for tabs but unfortunately making it
  dependent on the widget size leads to unpredictable behaviour as the
  tab sizes aren't always updated at the right times.
2018-02-19 00:52:15 +00:00
baldurk 08457a329e Add itemview header drawing to RDStyle 2018-02-19 00:52:14 +00:00
baldurk 1b5e96f363 Fix sizing/positioning of checkbox indicators in item view items 2018-02-19 00:52:14 +00:00
baldurk db7050c4d4 Set a minimum width for popup menus in RDStyle 2018-02-12 20:48:08 +00:00
baldurk c437772271 Fix painting of frame borders in RDStyle 2018-02-12 20:48:01 +00:00
baldurk 7352ffb557 Tweak RDStyle to darken link colours on the light theme 2018-02-07 16:07:18 +00:00
baldurk e305029ddd Update copyright years to 2018 2018-01-01 17:55:29 +00:00
baldurk 67090cc085 Add handling to both RDStyle and RDTweakedNativeStyle for menus w/ icons 2017-12-19 12:26:33 +00:00
baldurk b822e56f81 Tweak RDStyle to apply a min/max width for tabs and elide text 2017-11-29 19:01:22 +00:00
baldurk 1fcc41effa Allow arrow keys for proper navigation of itemviews in RDStyle 2017-11-22 19:11:24 +00:00
baldurk e3b0d8acc0 Ensure too-long popup menus have scroll buttons 2017-11-10 18:36:07 +00:00
baldurk 2a0fac1ad6 Compile fixes on linux 2017-08-24 19:15:28 +01:00
baldurk c0065a7e58 Add support for indeterminate checkboxes in custom style 2017-08-24 17:25:47 +01:00
baldurk 38fcc87943 Add custom RDStyle rendering of view item checkmark indicators 2017-08-24 16:33:40 +01:00
baldurk ef84f494a2 Add a macro that enables qt-compatibility in the renderdoc replay API
* This will be used to remove the ToQStr everywhere (where it's not
  used for actual stringification of enums/structs)
2017-08-16 18:28:11 +01:00
baldurk cfd816d7f3 Enable RDStyle by default, add style selection in the settings dialog 2017-08-16 17:39:37 +01:00
baldurk 608cd152d9 OS X compile fix 2017-07-28 20:31:52 +01:00
baldurk feb99ca6a4 Compile fix, cast to QRectF first then adjust 2017-07-28 20:01:41 +01:00
baldurk 5b3fd0a2f9 Add handling for tab bars and tab widgets 2017-07-28 19:06:47 +01:00
baldurk 541aa23a93 Add menu rendering (both menu bars/menus and popup menus) 2017-07-28 19:06:46 +01:00
baldurk 58d6e2540d Only highlight enabled toolbuttons on hover, not disabled ones 2017-07-28 19:06:46 +01:00
baldurk c19b4fb0a3 Add some basic style hints for menus and message boxes 2017-07-28 19:06:46 +01:00
baldurk 4591457ad7 Set up custom splitters, for now just empty rects.
* May need to revisit this in future depending on what outlining we have
  for individual docking widgets
2017-07-28 19:06:45 +01:00
baldurk 01c1365224 Don't draw any frames for status bar items 2017-07-28 19:06:45 +01:00
baldurk 719b7ea478 Fill in the background even for line edits without frames 2017-07-28 19:06:45 +01:00
baldurk a0bee29162 Make sure not to account for an invisible frame when sizing line edits 2017-07-28 19:06:45 +01:00
baldurk c471153770 Add styled progress bars, including animations for the 'infinite' case 2017-07-28 19:06:45 +01:00
baldurk a6f0d07e09 Remove most stylesheet use as this messes with a custom style
* Use palettes where a certain colour is needed.
* Still need some solution for table borders in grid layouts
2017-07-28 19:06:44 +01:00
baldurk a4e4c1fd5d Don't underline shortcuts by default - we'll handle alt-press later 2017-07-28 19:06:44 +01:00
baldurk 4545ed5bb5 Add custom rendering for spinboxes 2017-07-28 19:06:44 +01:00
baldurk 5ceffa1d1d Custom tooltip panels 2017-07-28 19:06:44 +01:00
baldurk 048e2c0102 RDStyle is based on QCommonStyle
* This gives us a consistent baseline to start from and ensures that any
  things we don't customise and leave to defaults will still be the same
  wherever we are running.
2017-07-28 19:06:44 +01:00
baldurk 430cdad282 Fix mnemonics showing up in text drawing 2017-07-28 19:06:44 +01:00
baldurk ad79e2a240 Add custom rendering for combo boxes - also covers frames, lines, items 2017-07-28 19:06:43 +01:00
baldurk 9454ef48df Draw custom scrollbars 2017-07-28 19:06:43 +01:00
baldurk e7fd2e24db Draw checkbox/radio labels ourselves 2017-07-28 19:06:43 +01:00
baldurk 9d67e0f2d9 Add custom drawing for group boxes 2017-07-28 19:06:43 +01:00
baldurk cd15947f47 Do our own sizing of the controls we're painting 2017-07-28 19:06:43 +01:00
baldurk 2699ca46e5 Tweak highlight borders 2017-07-28 19:06:42 +01:00
baldurk 1e1cefb1bb Extract out common code for pushbuttons, to re-use for textbox borders. 2017-07-28 19:06:42 +01:00
baldurk 573d94adf0 Add custom drawn radio and check boxes 2017-07-28 19:06:42 +01:00
baldurk bbda9de011 Tweak disabled colours for palettes 2017-07-28 19:06:42 +01:00
baldurk 03cf4d2ce3 Customise button rendering in RDStyle 2017-07-28 19:06:42 +01:00
baldurk c601414e39 Add light and dark palettes to RDStyle 2017-07-28 19:06:42 +01:00
baldurk 3ea74aa73b Treeview expanders shouldn't be Dark, they should be Text 2017-07-28 19:06:41 +01:00