Tome
A generic data editor for games supporting arbitrary input and output formats.
Signals | Public Member Functions | List of all members
Tome::SearchResultsDockWidget Class Reference

Shows the results of a search operation. More...

#include <searchresultsdockwidget.h>

Inheritance diagram for Tome::SearchResultsDockWidget:

Signals

void progressChanged (const QString title, const QString text, const int currentValue, const int maximumValue)
 Progress of the current search operation has changed. More...
 
void recordLinkActivated (const QString &recordId)
 A link to another Tome record has been activated. More...
 

Public Member Functions

 SearchResultsDockWidget (QWidget *parent)
 Constructs a new widget for showing the results of a search operation. More...
 
void showResults (const QString &title, const SearchResultList &results)
 Shows the passed search results. More...
 

Detailed Description

Shows the results of a search operation.

Constructor & Destructor Documentation

◆ SearchResultsDockWidget()

SearchResultsDockWidget::SearchResultsDockWidget ( QWidget *  parent)

Constructs a new widget for showing the results of a search operation.

Parameters
parentOptional owner widget.

Member Function Documentation

◆ progressChanged

void Tome::SearchResultsDockWidget::progressChanged ( const QString  title,
const QString  text,
const int  currentValue,
const int  maximumValue 
)
signal

Progress of the current search operation has changed.

Parameters
titleTitle of the current search operation step.
textDetails of the current search operation step.
currentValueCurrent progress value of the current search operation step.
maximumValueMaximum progress value of the current search operation step.

◆ recordLinkActivated

void Tome::SearchResultsDockWidget::recordLinkActivated ( const QString &  recordId)
signal

A link to another Tome record has been activated.

Parameters
recordIdId of the selected record.

◆ showResults()

void SearchResultsDockWidget::showResults ( const QString &  title,
const SearchResultList &  results 
)

Shows the passed search results.

Parameters
titleTitle of the search operation (e.g. what we've been looking for).
resultsSearch results to show.

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