Vuo  2.3.2
Public Slots | Signals | Public Member Functions | Protected Member Functions | Friends | List of all members
VuoSearchBox Class Reference

Description

Provides a dialog to search the composition for text.

Definition at line 25 of file VuoSearchBox.hh.

Public Slots

void goToNextResult ()
 Highlights the next search result. More...
 
void goToPreviousResult ()
 Highlights the previous search result. More...
 
void refreshResults ()
 If the search box is currently displayed, refreshes the results of the current search. More...
 

Signals

void searchPerformed ()
 Emitted after a search is performed. More...
 

Public Member Functions

 VuoSearchBox (VuoEditorComposition *composition, QWidget *parent, Qt::WindowFlags flags)
 Creates an instance of a search dialogue. More...
 
void show ()
 Displays the search dialog. More...
 
bool traversalButtonsEnabled ()
 Returns a boolean indicating whether the "Next" and "Previous" buttons are currently enabled. More...
 

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event) VuoWarnUnusedResult
 Handle keypress events. More...
 
void resizeEvent (QResizeEvent *event)
 Handle resize events. More...
 
void closeEvent (QCloseEvent *event)
 Handle close events. More...
 

Friends

class TestVuoEditor
 

Constructor & Destructor Documentation

◆ VuoSearchBox()

VuoSearchBox::VuoSearchBox ( VuoEditorComposition composition,
QWidget *  parent,
Qt::WindowFlags  flags 
)
explicit

Creates an instance of a search dialogue.

Definition at line 30 of file VuoSearchBox.cc.

Member Function Documentation

◆ closeEvent()

void VuoSearchBox::closeEvent ( QCloseEvent *  event)
protected

Handle close events.

Definition at line 636 of file VuoSearchBox.cc.

◆ eventFilter()

bool VuoSearchBox::eventFilter ( QObject *  object,
QEvent *  event 
)
protected

Handle keypress events.

Definition at line 600 of file VuoSearchBox.cc.

◆ goToNextResult

void VuoSearchBox::goToNextResult ( )
slot

Highlights the next search result.

Definition at line 476 of file VuoSearchBox.cc.

◆ goToPreviousResult

void VuoSearchBox::goToPreviousResult ( )
slot

Highlights the previous search result.

Definition at line 503 of file VuoSearchBox.cc.

◆ refreshResults

void VuoSearchBox::refreshResults ( )
slot

If the search box is currently displayed, refreshes the results of the current search.

Definition at line 533 of file VuoSearchBox.cc.

◆ resizeEvent()

void VuoSearchBox::resizeEvent ( QResizeEvent *  event)
protected

Handle resize events.

When the widget receives this event, it already has its new geometry.

Definition at line 627 of file VuoSearchBox.cc.

◆ searchPerformed

void VuoSearchBox::searchPerformed ( )
signal

Emitted after a search is performed.

◆ show()

void VuoSearchBox::show ( )

Displays the search dialog.

Definition at line 91 of file VuoSearchBox.cc.

◆ traversalButtonsEnabled()

bool VuoSearchBox::traversalButtonsEnabled ( )

Returns a boolean indicating whether the "Next" and "Previous" buttons are currently enabled.

Definition at line 748 of file VuoSearchBox.cc.


The documentation for this class was generated from the following files: