Search all GLSL source files beneath an active shader library. More...
#include <find-shader.hpp>
Signals | |
| void | resultActivated (const QString &filePath, int lineNumber, int columnNumber, int matchLength) |
| Emitted when the user opens one search result. | |
Public Member Functions | |
| FindShaderDialog (const QString &shaderPath, QWidget *parent=nullptr) | |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) override |
Private Member Functions | |
| void | openResult (QTreeWidgetItem *item) |
| void | performSearch () |
| void | updateOpenButton () |
Private Attributes | |
| QCheckBox * | caseSensitiveCheck = nullptr |
| QPushButton * | openButton = nullptr |
| QLineEdit * | patternEdit = nullptr |
| QTreeWidget * | resultsTree = nullptr |
| QString | shaderPath |
| QLabel * | statusLabel = nullptr |
Search all GLSL source files beneath an active shader library.
Definition at line 23 of file find-shader.hpp.
|
explicit |
Definition at line 30 of file find-shader.cpp.
References caseSensitiveCheck, openButton, openResult(), patternEdit, performSearch(), resultsTree, shaderPath, statusLabel, and updateOpenButton().
Referenced by MainWindow::initControls().
|
overrideprotected |
Definition at line 91 of file find-shader.cpp.
Referenced by resultActivated().
|
private |
Definition at line 173 of file find-shader.cpp.
References resultActivated().
Referenced by FindShaderDialog(), and resultActivated().
|
private |
Definition at line 96 of file find-shader.cpp.
References caseSensitiveCheck, patternEdit, resultsTree, shaderPath, statusLabel, and updateOpenButton().
Referenced by FindShaderDialog(), and resultActivated().
|
signal |
Emitted when the user opens one search result.
References closeEvent(), openResult(), performSearch(), and updateOpenButton().
Referenced by MainWindow::initControls(), and openResult().
|
private |
Definition at line 179 of file find-shader.cpp.
References openButton, and resultsTree.
Referenced by FindShaderDialog(), performSearch(), and resultActivated().
|
private |
Definition at line 43 of file find-shader.hpp.
Referenced by FindShaderDialog(), and performSearch().
|
private |
Definition at line 46 of file find-shader.hpp.
Referenced by FindShaderDialog(), and updateOpenButton().
|
private |
Definition at line 42 of file find-shader.hpp.
Referenced by FindShaderDialog(), and performSearch().
|
private |
Definition at line 44 of file find-shader.hpp.
Referenced by FindShaderDialog(), performSearch(), and updateOpenButton().
|
private |
Definition at line 41 of file find-shader.hpp.
Referenced by FindShaderDialog(), and performSearch().
|
private |
Definition at line 45 of file find-shader.hpp.
Referenced by FindShaderDialog(), and performSearch().