Classified ads
Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
SearchDisplay Class Reference

class for search dialog More...

#include <searchdisplay.h>

Inheritance diagram for SearchDisplay:
Inheritance graph
[legend]
Collaboration diagram for SearchDisplay:
Collaboration graph
[legend]

Signals

void error (MController::CAErrorSituation aError, const QString &aExplanation)
 
- Signals inherited from DialogBase
void error (MController::CAErrorSituation aError, const QString &aExplanation)
 

Public Member Functions

 SearchDisplay (QWidget *aParent, MController *aController, SearchModel *aSearchModel, Profile &aSelectedProfile)
 
 ~SearchDisplay ()
 

Private Slots

void closeButtonClicked ()
 
void searchButtonClicked ()
 
void keyEnterClicked ()
 
void openButtonClicked ()
 
void resultListDoubleClicked (const QModelIndex &aIndex)
 
void currentItemChanged (const QModelIndex &current, const QModelIndex &previous)
 
void openSelectedContent ()
 

Private Attributes

Ui_searchDisplay ui
 
SearchModeliSearchModel
 
Hash iHashOfFocusedResult
 
ProtocolItemType iTypeOfFocusedResult
 
Hash iNodeOfFocusedResult
 
QAction * iOpenAction
 
QShortcut * iSearchDisplayKeyboardGrabber
 

Additional Inherited Members

- Protected Slots inherited from DialogBase
void attachButtonClicked ()
 
- Protected Member Functions inherited from DialogBase
 DialogBase (QWidget *aParent, MController *aController, Profile &aSelectedProfile)
 
Hash publishBinaryAttachment (const MetadataQueryDialog::MetadataResultSet &aFileMetadata, bool aForceNoEncryption=false, const QList< Hash > *aBinaryRecipientList=NULL)
 
- Protected Attributes inherited from DialogBase
MControlleriController
 
ProfileiSelectedProfile
 
QList< MetadataQueryDialog::MetadataResultSetiFilesAboutToBeAttached
 
QLabel * iAttachmentListLabel
 

Detailed Description

class for search dialog

Constructor & Destructor Documentation

◆ SearchDisplay()

SearchDisplay::SearchDisplay ( QWidget *  aParent,
MController aController,
SearchModel aSearchModel,
Profile aSelectedProfile 
)

Constructor.

Parameters
aParentis owner-window of this dialog
aControllerapplication controller reference
aSearchModelwhere the content comes from. ownership is not claimed e.g. this dialog does not delete the model.
aSelectedProfileprofile of operator currently searching

◆ ~SearchDisplay()

SearchDisplay::~SearchDisplay ( )

destructor

Member Function Documentation

◆ closeButtonClicked

void SearchDisplay::closeButtonClicked ( )
privateslot

◆ currentItemChanged

void SearchDisplay::currentItemChanged ( const QModelIndex &  current,
const QModelIndex &  previous 
)
privateslot

◆ error

void SearchDisplay::error ( MController::CAErrorSituation  aError,
const QString &  aExplanation 
)
signal

◆ keyEnterClicked

void SearchDisplay::keyEnterClicked ( )
privateslot

conditionally performs search

◆ openButtonClicked

void SearchDisplay::openButtonClicked ( )
privateslot

opens selected item from results-list

◆ openSelectedContent

void SearchDisplay::openSelectedContent ( )
privateslot

◆ resultListDoubleClicked

void SearchDisplay::resultListDoubleClicked ( const QModelIndex &  aIndex)
privateslot

◆ searchButtonClicked

void SearchDisplay::searchButtonClicked ( )
privateslot

performs search

Member Data Documentation

◆ iHashOfFocusedResult

Hash SearchDisplay::iHashOfFocusedResult
private

◆ iNodeOfFocusedResult

Hash SearchDisplay::iNodeOfFocusedResult
private

◆ iOpenAction

QAction* SearchDisplay::iOpenAction
private

context-menu action for open

◆ iSearchDisplayKeyboardGrabber

QShortcut* SearchDisplay::iSearchDisplayKeyboardGrabber
private

◆ iSearchModel

SearchModel* SearchDisplay::iSearchModel
private

◆ iTypeOfFocusedResult

ProtocolItemType SearchDisplay::iTypeOfFocusedResult
private

◆ ui

Ui_searchDisplay SearchDisplay::ui
private

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