SolveDlg Class Reference

SolveDlg shows the statistics of a working solution engine. More...

#include <SolveDlg.h>

Collaboration diagram for SolveDlg:

Collaboration graph
List of all members.

Public Slots

void statsUpdate (int hint, int data)
void displayTimeout ()


void go ()
void visibilityChanged (bool showen)
void resetSolves ()

Public Member Functions

 SolveDlg (QWidget *parent, CubeDoc *run)
virtual ~SolveDlg ()

Protected Member Functions

virtual void hideEvent (QHideEvent *event)
virtual void showEvent (QShowEvent *event)

Private Member Functions

void updateSol (int n=-1)
void updatePart (int n=-1)
void updateStatus ()
void start ()
void stop ()

Private Attributes

Ui::SolveDlg ui
QTimer * m_timer
time_t m_starttime
time_t m_elapsedtime
qint64 m_last_tms
int m_speed [SPEED_AVG_SIZE]
int m_speedind

Detailed Description

SolveDlg shows the statistics of a working solution engine.

it displayes the data from RunStats to the user and calculates how many parts changes per second are observed. It also contains another "Solve It" button which does exactly what the one in BuildHelpDlg does.

Constructor & Destructor Documentation

SolveDlg::SolveDlg ( QWidget *  parent,
CubeDoc run 

virtual SolveDlg::~SolveDlg (  )  [inline, virtual]

Member Function Documentation

void SolveDlg::updateSol ( int  n = -1  )  [private]

void SolveDlg::updatePart ( int  n = -1  )  [private]

void SolveDlg::updateStatus (  )  [private]

void SolveDlg::start (  )  [private]

void SolveDlg::stop (  )  [private]

void SolveDlg::statsUpdate ( int  hint,
int  data 
) [slot]

void SolveDlg::displayTimeout (  )  [slot]

void SolveDlg::go (  )  [signal]

void SolveDlg::visibilityChanged ( bool  showen  )  [signal]

void SolveDlg::resetSolves (  )  [signal]

virtual void SolveDlg::hideEvent ( QHideEvent *  event  )  [inline, protected, virtual]

virtual void SolveDlg::showEvent ( QShowEvent *  event  )  [inline, protected, virtual]

Member Data Documentation

Ui::SolveDlg SolveDlg::ui [private]

QTimer* SolveDlg::m_timer [private]

time_t SolveDlg::m_starttime [private]

time_t SolveDlg::m_elapsedtime [private]

qint64 SolveDlg::m_last_tms [private]

int SolveDlg::m_speed[SPEED_AVG_SIZE] [private]

int SolveDlg::m_speedind [private]

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