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
baldurk
04004e3243
Add mousemove event to RDLabel
2016-11-14 14:12:50 +01:00
Alberto Taiuti
d1e5149527
Fix missing <math.h> header in qrenderdoc for Arch/clang++
...
Add the <math.h> header to some of the source files for the target
qrenderdoc. The build would not have succeded without these headers
declaration under Arch Linux/clang++.
2016-10-19 18:55:50 +02:00
baldurk
d869222eed
Linux build fixes
2016-10-12 17:36:35 +02:00
baldurk
f0c359b329
Remove include guards and change to #pragma once
2016-10-11 21:38:16 +02:00
baldurk
d72e0f0cf4
Add missing MIT license from some files
2016-10-11 21:34:06 +02:00
baldurk
48a60104bb
Create more of a directory structure for qrenderdoc files
2016-10-11 21:31:57 +02:00
baldurk
db5bdbb05e
Add range histogram
2016-10-11 18:33:37 +02:00
baldurk
35d4bddaec
Add keypress event to RDLineEdit
2016-10-11 18:32:43 +02:00
baldurk
2507634df9
Add filterable texture list to texture viewer
2016-10-10 18:48:38 +02:00
baldurk
a1e9554e66
Implement the ctrl-g texture goto popup
2016-10-10 16:41:48 +02:00
baldurk
dbb0254556
Add double-click event handling to RDLabel, CustomPaintWidget & thumb
2016-10-10 13:30:01 +02:00
baldurk
3ec1be62ff
Paint custom render widgets properly without output, recreate as needed
2016-10-07 19:51:05 +02:00
baldurk
2f461a5029
Handle keypress events for clipboard copy and pixel nudging
2016-10-07 19:51:04 +02:00
baldurk
bfac4adfb8
Expose full logging to UI layer, pipe Qt messages etc into main logs
2016-10-07 15:58:45 +02:00
baldurk
525fb3faf1
Refresh thumbnail strip layout when it becomes visible
2016-10-04 19:54:34 +02:00
baldurk
9b3e0176dc
Pass clicked event from resource preview members to signal
2016-10-04 19:54:33 +02:00
baldurk
591ad38e48
Pass MouseEvent through label click signal
2016-10-04 19:54:33 +02:00
baldurk
0b6b6b3e86
Add MIT License comment to the head of all source files
2016-10-04 19:54:31 +02:00
baldurk
e91634004f
Rename Core to CaptureContext
2016-10-04 19:54:31 +02:00
baldurk
7e35a6a7ba
Implement remaining functions needed on resource preview widget
2016-10-04 19:54:29 +02:00
baldurk
2577218e32
Add thumbnail strip widget to manage sizing and layout of thumb previews
2016-10-04 19:54:28 +02:00