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 ( 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 ( )

destructor

Member Function Documentation

void SearchDisplay::closeButtonClicked ( )
privateslot
void SearchDisplay::currentItemChanged ( const QModelIndex &  current,
const QModelIndex &  previous 
)
privateslot
void SearchDisplay::error ( MController::CAErrorSituation  aError,
const QString &  aExplanation 
)
signal
void SearchDisplay::keyEnterClicked ( )
privateslot

conditionally performs search

void SearchDisplay::openButtonClicked ( )
privateslot

opens selected item from results-list

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

performs search

Member Data Documentation

Hash SearchDisplay::iHashOfFocusedResult
private
Hash SearchDisplay::iNodeOfFocusedResult
private
QAction* SearchDisplay::iOpenAction
private

context-menu action for open

QShortcut* SearchDisplay::iSearchDisplayKeyboardGrabber
private
SearchModel* SearchDisplay::iSearchModel
private
ProtocolItemType SearchDisplay::iTypeOfFocusedResult
private
Ui_searchDisplay SearchDisplay::ui
private

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