mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 08:26:50 +00:00
Filter out previous/next drawcall shortcuts when text editing.
Closes #911 editing. path. 'ad0678a'.
This commit is contained in:
@@ -98,13 +98,16 @@ DECLARE_REFLECTION_STRUCT(CaptureSettings);
|
||||
|
||||
DOCUMENT(R"(The main parent window of the application.
|
||||
|
||||
.. function:: ShortcutCallback()
|
||||
.. function:: ShortcutCallback(QWidget focusWidget)
|
||||
|
||||
Not a member function - the signature for any ``ShortcutCallback`` callbacks.
|
||||
|
||||
:param QWidget focusWidget: The widget with focus at the time this shortcut was detected. May be
|
||||
``None``.
|
||||
)");
|
||||
struct IMainWindow
|
||||
{
|
||||
typedef std::function<void()> ShortcutCallback;
|
||||
typedef std::function<void(QWidget *focusWidget)> ShortcutCallback;
|
||||
|
||||
DOCUMENT(
|
||||
"Retrieves the QWidget for this :class:`MainWindow` if PySide2 is available, or otherwise a "
|
||||
|
||||
Reference in New Issue
Block a user