OSB_GUI::RecCountView Class Reference

Inheritance diagram for OSB_GUI::RecCountView:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::RecCountView:

Collaboration graph
[legend]
List of all members.

Detailed Description

Widget to display the call accounting for a list of record streams.

Definition at line 184 of file reccnts.h.

Public Member Functions

Private Member Functions

Private Attributes

Friends


Constructor & Destructor Documentation

OSB_GUI::RecCountView::RecCountView ( QWidget parent,
const char *  name = 0,
WFlags  flags = 0 
)

Constructor with Qt arguments.

OSB_GUI::RecCountView::~RecCountView (  ) 

Destructor: delete streamDlg_.


Member Function Documentation

void OSB_GUI::RecCountView::clear (  )  [private]

Delete all bar charts and reset chart information.

QSize OSB_GUI::RecCountView::contentsSize (  )  const [private]

Calcaluate the size of the RecCounts widgets.

bool OSB_GUI::RecCountView::empty (  )  const

No call accounting information displayed?

Returns:
true if rsList_ is empty, else false.

bool OSB_GUI::RecCountView::noInfo (  )  const

No call accounting information displayed?

Returns:
true if recCounts_ is empty, else false.

void OSB_GUI::RecCountView::readCa ( const OSB_DB::Session session  )  [private]

Read the call accounting result from the database.

Parameters:
session Database session to use.
Reads the call accounting for all streams in rsList_ from the database.

void OSB_GUI::RecCountView::readStreams ( const OSB_DB::Session session,
const OSB_LIB::RecordStreamFilter filter 
) [private]

Read the record streams from the database.

Parameters:
session Database session to use.
filter Filter to apply.

bool OSB_GUI::RecCountView::showByModule (  ) 

Show the call accouting by module.

Returns:
true if any information was displayed, i.e., a RecCounts widget was added, else false.

bool OSB_GUI::RecCountView::showByStream (  ) 

Show the call accouting by record stream.

Returns:
true if any information was displayed, i.e., a RecCounts widget was added, else false.

void OSB_GUI::RecCountView::showInfo ( const OSB_LIB::RecordStreamInfo::Oid rsId  )  const

Show detailed information for a record stream.

Parameters:
rsId Id of the record stream to show.

void OSB_GUI::RecCountView::viewportResizeEvent ( QResizeEvent *  e  )  [private]

Resize the RecCounts widgets to use the full width.


Friends And Related Function Documentation

friend class RecCountsAdmin [friend]

Provide access to readStreams() and rsList_.

Definition at line 186 of file reccnts.h.


Member Data Documentation

OSB_LIB::CaResults* OSB_GUI::RecCountView::caResults_ [private]

Call accounting results.

Definition at line 273 of file reccnts.h.

BarChartInfo* OSB_GUI::RecCountView::chartInfo_ [private]

Chart information.

Definition at line 283 of file reccnts.h.

std::set<RecCounts*> OSB_GUI::RecCountView::recCounts_ [private]

Current record count widgets.

Definition at line 275 of file reccnts.h.

OSB_LIB::RecordStreams* OSB_GUI::RecCountView::rsList_ [private]

List of record streams.

Definition at line 271 of file reccnts.h.

DlgStreamInfo* OSB_GUI::RecCountView::streamDlg_ [mutable, private]

The dialog to display detailed record stream information.

It is allocated when needed the first time.

Definition at line 281 of file reccnts.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:19:49 2006 for OSB Library by  doxygen 1.4.7