![]() |
LibrePCB Developers Documentation
|
The SearchToolBar class. More...
#include <searchtoolbar.h>
Inherits QToolBar.
Collaboration diagram for SearchToolBar:Public Types | |
| typedef std::function< QStringList()> | CompleterListFunction |
Signals | |
| void | textChanged (const QString &text) |
| void | goToTriggered (const QString &name, int index=0) |
Public Member Functions | |
| SearchToolBar (const SearchToolBar &other)=delete | |
| SearchToolBar (QWidget *parent=nullptr) noexcept | |
| ~SearchToolBar () noexcept | |
| QString | getText () const noexcept |
| void | setPlaceholderText (const QString &text) noexcept |
| void | setCompleterListFunction (CompleterListFunction fun) noexcept |
| void | clear () noexcept |
| void | selectAllAndSetFocus () noexcept |
| void | findNext () noexcept |
| void | findPrevious () noexcept |
| SearchToolBar & | operator= (const SearchToolBar &rhs)=delete |
Private Member Functions | |
| void | updateCompleter () noexcept |
| void | textChangedHandler (const QString &text) noexcept |
Private Attributes | |
| CompleterListFunction | mCompleterListFunction |
| QScopedPointer< QLineEdit > | mLineEdit |
| bool | mForward |
| Current search direction (forward or backward) | |
| int | mIndex |
| Number of searches with the current search term. | |
The SearchToolBar class.
| typedef std::function<QStringList()> CompleterListFunction |
|
delete |
|
explicitnoexcept |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
|
delete |
|
signal |
|
signal |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
private |
|
private |
|
private |
Current search direction (forward or backward)
|
private |
Number of searches with the current search term.