baldurk
bf791b7854
Use 20% highlight colour instead of window for hovering on tree widgets
2017-06-01 18:48:05 +01:00
baldurk
b311e65dbd
Change margins to be a minimum instead of adding them
...
* The style itself may have added some margins and we don't want to add
extra margins, just set a minimum.
2017-06-01 18:47:42 +01:00
baldurk
49243c0878
Use a style proxy setting SH_ItemView_ShowDecorationSelected to fill
...
* This still isn't perfect with some custom style stuff but it's next
to impossible to get working right. In theory we should manually
draw PE_PanelItemViewItem in the gap in drawRow() or so to make sure
we also draw any on-hover highlight over objects, but that doesn't
seem to work.
2017-06-01 18:28:13 +01:00
baldurk
5c877ae1ae
Add default-enabled grid lines to RDTreeView (and so RDTreeWidget)
2017-06-01 14:17:36 +01:00
baldurk
3076b4337b
Move size delegate into item margins implemented by RDTreeView
2017-06-01 14:17:00 +01:00
baldurk
a30c704e46
Inherit RDTreeWIdget from RDTreeView instead of QTreeView
2017-06-01 14:15:17 +01:00
baldurk
26862d92b2
Add a toggle to RDLabel to preserve the aspect ratio of its pixmap
2017-05-30 17:08:37 +01:00
baldurk
c95f7c4cea
Add default copy-paste handlers for RDListWidget and RDTreeWidget
2017-05-30 16:13:41 +01:00
baldurk
641eaf4665
Add option to instantly show tooltips over RDTreeWidget items
2017-05-30 14:08:44 +01:00
baldurk
886ec3190c
Use WindowText color for custom painting on RDSplitterHandle
2017-05-29 17:52:01 +01:00
baldurk
09c9ae94d2
Change the vulkan layer warning to be theme-friendly
...
* The hardcoded background color didn't work on light-on-dark themes,
so instead just use the tooltip base color, and darken on hover.
2017-05-29 16:51:57 +01:00
baldurk
da6560f9aa
Use anti-aliasing when rendering histogram bar
2017-05-29 16:07:56 +01:00
baldurk
5dc10bcc3d
Make sure to call parent event handlers when we override to emit signals
2017-05-17 16:42:37 +01:00
baldurk
5b5e30cf54
Add HTML pipeline export for qrenderdoc
2017-05-15 10:11:56 +01:00
baldurk
f9908927ad
Add RDTreeWidgetItem overload that constructs from QVariantList
2017-05-15 10:11:55 +01:00
baldurk
441d136177
Add extended RDToolButton
2017-05-10 17:20:39 +01:00
baldurk
7c7cd32c17
Populate the buffer format specifier with the initial format
2017-05-10 17:20:38 +01:00
baldurk
1ca55a8237
Add an optional 'rgb' specifier to colour buffer cells backgrounds
...
* When opening a texture as a buffer we can make use of this.
2017-05-10 17:20:37 +01:00
baldurk
4fb8b22b2d
QBrush() is not a 'use default' return value from a model, QVariant() is
2017-05-09 18:49:44 +01:00
baldurk
bbff0fce1c
Implement row colouring and tree colouring in event browser.
...
* Also do custom painting of branches to do proper full-row colouring
instead of leaving an ugly gap around the tree controls.
2017-05-04 20:36:46 +01:00
baldurk
ab432f24fc
Implement the UI option for preferring monospaced font
2017-05-04 20:36:46 +01:00
baldurk
0ecc6ca877
Enable QT_NO_CAST_FROM_ASCII & QT_NO_CAST_TO_ASCII
...
* Added a couple of utility macros to help with the conversion. lit() is
paired with tr() for untranslated text.
* QFormatStr is more explicitly for non-textual formatting strings.
* Both are just #define'd to QStringLiteral()
2017-05-02 22:58:12 +01:00
baldurk
4199a857f5
Add right-click context menu to event browser with expand/collapse all
2017-04-27 19:47:50 +01:00
baldurk
04bfcdff71
Fix linux build with problems overriding functions
2017-04-22 02:25:03 +01:00
baldurk
d699e89fd2
Switch RDTreeWidget to inherit from QTreeView instead of QTreeWidget
...
* We add our own custom item model to handle the cases we need. We can
also make a few assumptions and optimisations around things we can
safely assume like e.g. nodel columns won't really change after init.
* This lets us have full control over batching updates, which was the
main motivation, but it makes it easier to extend in future (e.g.
adding single per-item tags instead of the heavyweight Qt::UserRole
data elements).
2017-04-21 18:44:51 +01:00
baldurk
a740696dbe
Add an extended RDTextEdit control subclassed from QTextEdit
2017-04-18 14:57:49 +01:00
baldurk
494086f40d
Rename RenderManager to ReplayManager
2017-04-18 14:57:48 +01:00
baldurk
6930841705
Rename ReplayRenderer to ReplayController
...
* It's not a renderer, it's an interface to controlling the replay and
any 'renderer' type work actually happens in ReplayOutput.
2017-04-18 14:57:47 +01:00
baldurk
094c4164dc
Refactor qrenderdoc to provide stable, clean and deliberate API
...
* Note, this API is still in-flux and beta, so there may still be some
more changes before it's 'stable', and even then it will still be
subject to some amount of change.
* This API is then exposed to python via SWIG bindings and hides
internals that don't need to be visible, and means the actual API is
easier to work with.
* We also use this API to reduce inter-dependencies between different
windows that need to interact with each other at a high level.
* The naming is python/standard RenderDoc TitleCase method names, not
Qt style camelCase methods.
# Conflicts:
# qrenderdoc/Windows/PipelineState/D3D11PipelineStateViewer.cpp
# qrenderdoc/Windows/TextureViewer.cpp
2017-04-18 14:57:43 +01:00
Dimitris Kapnopoulos
6e06eb5164
Added tooltips for all QToolButtons. RDSplitter checks for valid index.
...
handleDoubleClicked in RDSplitter checks if the index argument is less than zero or bigger than count
2017-03-28 02:54:15 -07:00
baldurk
d2d86b5726
Add 'floateleven' buffer format for R11G11B10 packed data, fix unpacking
2017-03-20 13:02:20 +00:00
Dimitris Kapnopoulos
4ab61286e4
Added custom Splitter class, RDSplitter, with titles in the handles
2017-03-13 10:02:43 -07:00
baldurk
fa04d5a72e
Add a find/replace tool for use with Scintilla
2017-02-16 17:10:07 +00:00
baldurk
871a48d7fa
Add flowchart custom widget to show select pipeline stages
2017-02-13 19:20:25 +00:00
baldurk
0c79d778e9
Add shortcuts for functionality in event browser
2017-02-13 19:20:13 +00:00
baldurk
4d8e799a0e
Add pixel history window
2017-02-09 23:21:45 +00:00
baldurk
2285b209c3
Access CaptureContext & RenderManager by reference, not pointer
...
* Neither of these can or should be NULL so enforce it explicitly.
2017-02-09 19:28:24 +00:00
baldurk
e1d180246c
Add dialog for both managing remote hosts (add/remove) and attaching
2017-02-09 19:28:23 +00:00
baldurk
95d84f2da7
Add extended RDTableWidget with row re-ordering
2017-02-09 19:28:20 +00:00
baldurk
e6295fa309
Stub out BufferViewer UI controls, and make camera control properly
2017-01-25 20:13:40 +00:00
baldurk
030cbfde9a
Batch update copyright years everywhere
2017-01-06 12:13:31 +00:00
Jake Turner
ee981ac59c
Fixed some clang compiler warnings
2017-01-02 14:44:07 +00:00
baldurk
060a1caa8f
Add extended RDTableView to expose viewOptions()
2016-11-28 17:45:49 +01:00
baldurk
a2d40f8061
Add constant buffer previewer for qrenderdoc
2016-11-25 14:17:20 +01:00
baldurk
81f3bb4680
Add extended RDTreeWidget with hovering capabilities
2016-11-24 17:16:02 +01:00
baldurk
1ea3e5bcda
Remove maxmimumSize where inappropriate, as it breaks on other layouts
2016-11-21 12:36:13 +01:00
baldurk
9d108d5a32
Use Qt isinf/isnan functions to avoid math.h mess. Refs #430
2016-11-19 15:13:53 +01:00
baldurk
dc982d519b
Only set WA_PaintOnScreen when doing custom painting
2016-11-14 17:41:45 +01:00
baldurk
ea748177e1
Compile fix for linux isinf/isnan
2016-11-14 16:32:10 +01:00
baldurk
10d1dc6e53
Add extended RDListWidget, which adds mouse click/double-click
2016-11-14 14:12:51 +01:00