Commit Graph

24 Commits

Author SHA1 Message Date
Silent f97a1746e9 Qt: Fixed behaviour of some buttons
Several buttons had functors connected to wrong signals,
which resulted in incosistent UI behaviour.
2019-07-30 16:50:18 +01:00
baldurk 86ff87863e Update copyright years to 2019 2019-02-01 18:32:13 +00:00
baldurk 42979bfeb3 [Coverity] Add some handling for return values in UI code 2018-05-08 12:32:56 +01:00
baldurk 082ab4d75d GUIInvoke takes a QObject* to avoid callbacks after object lifetime
* The GUIInvoke object takes a QObject, and uses QPointer to check that
  it hasn't been deleted when the callback fires. This prevents delayed
  callbacks from executing after the object has been deleted and
  crashing.
* In most cases the pointer is just 'this'.
2018-05-08 11:54:34 +01:00
baldurk 6c6d136d14 Make sure counter selection stays consistent and without duplicate items 2018-03-05 11:20:01 +00:00
baldurk e305029ddd Update copyright years to 2018 2018-01-01 17:55:29 +00:00
baldurk ebaefc82a9 Normalise and make python/public interface more consistent
* We enforce a naming scheme more strongly - types, member functions,
  and enum values must be UpperCaseCamel, and member variables must be
  lowerCaseCamel. No underscores allowed.
* eventId not eventID or EID, and Id preferred to ID in general. Also
  for resourceId.
* Removed some lingering hungarian m_Foo naming.
* Some pipeline state structs that are almost identical between the
  different APIs are pulled out into common structs. Where something
  doesn't make sense (e.g. viewport enable for vulkan) it will just be
  set to a sensible default (in that case always true).
* Changed scissors to be x/y & width/height instead of sometimes
  left/top/right/bottom
* Abbreviations are discouraged, e.g. operation not op, function not
  func.
2017-12-22 13:02:36 +00:00
baldurk 8d29758851 Remove members of public structs called 'bytes'
* It is at best confusing, and at worst could cause errors by aliasing
  with the python type.
2017-12-15 17:33:53 +00:00
baldurk e75a468d3c Remove direct include of Code/CaptureContext.h in almost all files
* This is a leftover from before the interface was hoisted out, and most
  windows were still calling directly to CaptureContext instead of via
  the public ICaptureContext interface
2017-11-22 19:11:20 +00:00
baldurk 31b7662db1 Fix adding empty tree widget items in performance counter selection 2017-11-20 20:01:01 +00:00
Cory Bloor 427b7f8553 Revert "Set default extensions for most save files"
This reverts commit 6f21bacd82.
2017-10-23 14:27:24 +02:00
Cory Bloor 6f21bacd82 Set default extensions for most save files
In most of these cases, the open file dialog won't even display a file
without the proper extension, so this helps ensure the user doesn't
accidentally misplace their files. The one exception is *.rdc, which
could be found without the extension, but could not be opened.
2017-10-11 03:26:17 -07:00
Matthäus G. Chajdas cad64db864 Use the correct role instead of a magic number. 2017-09-15 12:18:22 -07:00
baldurk 2a0fac1ad6 Compile fixes on linux 2017-08-24 19:15:28 +01:00
baldurk 9fabf709ff Add checkboxes for counter groups to allow enable/disabling in batch 2017-08-24 17:26:41 +01:00
baldurk 371b3b3174 Change to RDTreeWidget and add context menu with expand/collapse all 2017-08-24 16:33:41 +01:00
baldurk 5fdf959077 Double clicking on the selected counter will reveal it in the tree 2017-08-24 15:00:10 +01:00
baldurk 0ea91f2861 Change counter description on selection, not on hover 2017-08-24 15:00:09 +01:00
baldurk ace9bed79b Pass selected counters back into selection dialog
* This means that each time you open the dialog you don't start with an
  empty set, instead you start with the set of counters you had
  previously selected.
2017-08-24 15:00:09 +01:00
baldurk e18d5349ce Connect up cancel button in counter selection dialog 2017-08-24 15:00:06 +01:00
Matthäus G. Chajdas 8478bfbb52 Address review feedback. 2017-08-24 13:39:11 +01:00
Matthäus G. Chajdas 4d25394c0b Implement loading/saving in the performance counter selection. 2017-08-24 13:21:06 +01:00
Matthäus G. Chajdas 03343239c7 Implement a Performance Counter Viewer pane, hook up selection dialog 2017-08-24 13:21:03 +01:00
Matthäus G. Chajdas 29376f34cc Add a performance counter selection dialog. 2017-08-24 13:21:01 +01:00