Inline find/replace bar for the Lua debugger code editor (AccordionFrame).
More...
#include <lua_debugger_find_frame.h>
|
| | LuaDebuggerFindFrame (QWidget *parent=nullptr) |
| | Constructs the find/replace bar.
|
| |
|
| ~LuaDebuggerFindFrame () override |
| | Destroys the find/replace bar.
|
| |
| void | setTargetEditor (QPlainTextEdit *editor) |
| | Sets the code editor that find/replace operations act upon.
|
| |
|
void | scheduleFindFieldFocus () |
| | After animatedShow(), move focus to the find field (call from dialog).
|
| |
| | AccordionFrame (QWidget *parent=0) |
| | Create an AccordionFrame with the given parent.
|
| |
|
void | animatedShow () |
| | Show the frame with a slide-down animation.
|
| |
|
void | animatedHide () |
| | Hide the frame with a slide-up animation.
|
| |
|
void | updateStyleSheet () |
| | Reapply the stylesheet after a palette or style change.
|
| |
|
| bool | eventFilter (QObject *watched, QEvent *event) override |
| | Intercepts events on watched objects to handle editor-side keyboard shortcuts.
|
| |
| void | keyPressEvent (QKeyEvent *event) override |
| | Handles key presses within the bar (e.g. Enter to find next, Escape to close).
|
| |
|
virtual void | hideEvent (QHideEvent *) |
| | Emit visibilityChanged(false) when the frame is hidden.
|
| |
| virtual void | showEvent (QShowEvent *) |
| | Emit visibilityChanged(true) when the frame is shown.
|
| |
Inline find/replace bar for the Lua debugger code editor (AccordionFrame).
◆ LuaDebuggerFindFrame()
| LuaDebuggerFindFrame::LuaDebuggerFindFrame |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Constructs the find/replace bar.
- Parameters
-
◆ eventFilter()
| bool LuaDebuggerFindFrame::eventFilter |
( |
QObject * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprotected |
Intercepts events on watched objects to handle editor-side keyboard shortcuts.
- Parameters
-
| watched | The object whose events are being monitored. |
| event | The event to inspect. |
- Returns
- True if the event was consumed, false to allow normal processing.
◆ keyPressEvent()
| void LuaDebuggerFindFrame::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
Handles key presses within the bar (e.g. Enter to find next, Escape to close).
- Parameters
-
| event | The key press event. |
◆ setTargetEditor()
| void LuaDebuggerFindFrame::setTargetEditor |
( |
QPlainTextEdit * |
editor | ) |
|
Sets the code editor that find/replace operations act upon.
- Parameters
-
| editor | The target QPlainTextEdit, or nullptr to detach. |
The documentation for this class was generated from the following files: