Cppcheck
Public Member Functions | Private Slots | Private Attributes
StatsDialog Class Reference

A dialog that shows project and scan statistics. More...

#include <statsdialog.h>

List of all members.

Public Member Functions

 StatsDialog (QWidget *parent=0)
void setProject (const Project &project)
 Sets the project to extract statistics from.
void setPathSelected (const QString &path)
 Sets the string to display beside "Path Selected:".
void setNumberOfFilesScanned (int num)
 Sets the number to display beside "Number of Files Scanned:".
void setScanDuration (double seconds)
 Sets the number of seconds to display beside "Scan Duration:".
void setStatistics (const CheckStatistics *stats)
 Sets the numbers of different error/warnings found.

Private Slots

void copyToClipboard ()

Private Attributes

Ui::StatsDialog mUI
CheckStatisticsmStatistics

Detailed Description

A dialog that shows project and scan statistics.

Definition at line 35 of file statsdialog.h.


Constructor & Destructor Documentation

StatsDialog::StatsDialog ( QWidget *  parent = 0)

Definition at line 29 of file statsdialog.cpp.

References copyToClipboard(), and mUI.


Member Function Documentation

void StatsDialog::copyToClipboard ( ) [private, slot]

Sets the number to display beside "Number of Files Scanned:".

Definition at line 58 of file statsdialog.cpp.

References mUI.

Referenced by MainWindow::ShowStatistics().

void StatsDialog::setPathSelected ( const QString &  path)

Sets the string to display beside "Path Selected:".

Definition at line 53 of file statsdialog.cpp.

References mUI.

Referenced by MainWindow::ShowStatistics().

void StatsDialog::setProject ( const Project project)
void StatsDialog::setScanDuration ( double  seconds)

Sets the number of seconds to display beside "Scan Duration:".

Definition at line 63 of file statsdialog.cpp.

References mUI.

Referenced by MainWindow::ShowStatistics().


Member Data Documentation

Definition at line 70 of file statsdialog.h.

Referenced by copyToClipboard(), and setStatistics().

Ui::StatsDialog StatsDialog::mUI [private]

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