FreeDebks  1.0.3
 All Classes Files Functions Variables Friends Pages
Public Member Functions | Private Attributes | List of all members
FdDelegateResults Class Reference

#include <FdViewResults.hpp>

Collaboration diagram for FdDelegateResults:
Collaboration graph
[legend]

Public Member Functions

 FdDelegateResults (FdModelResults *model)
QString displayText (const QVariant &value) const
QString displayText (const QVariant &value, const QLocale &locale) const
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const

Private Attributes

const FdModelResultsmModel

Detailed Description

Definition at line 70 of file FdViewResults.hpp.

Constructor & Destructor Documentation

FdDelegateResults::FdDelegateResults ( FdModelResults model)
explicit

Definition at line 321 of file FdViewResults.cpp.

Member Function Documentation

QString FdDelegateResults::displayText ( const QVariant &  value) const

Definition at line 326 of file FdViewResults.cpp.

QString FdDelegateResults::displayText ( const QVariant &  value,
const QLocale &  locale 
) const

Reimplemented. Doubles are displayed using two decimals, even if they are zero.

Definition at line 334 of file FdViewResults.cpp.

void FdDelegateResults::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

Definition at line 342 of file FdViewResults.cpp.

Member Data Documentation

const FdModelResults* FdDelegateResults::mModel
private

Definition at line 73 of file FdViewResults.hpp.


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