#include <SolveDlg.h>
Collaboration diagram for SolveDlg:
Public Slots | |
void | statsUpdate (int hint, int data) |
void | displayTimeout () |
Signals | |
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 |
CubeDoc * | m_doc |
QTimer * | m_timer |
time_t | m_starttime |
time_t | m_elapsedtime |
qint64 | m_last_tms |
int | m_speed [SPEED_AVG_SIZE] |
int | m_speedind |
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.
SolveDlg::SolveDlg | ( | QWidget * | parent, | |
CubeDoc * | run | |||
) |
virtual SolveDlg::~SolveDlg | ( | ) | [inline, virtual] |
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] |
Ui::SolveDlg SolveDlg::ui [private] |
CubeDoc* SolveDlg::m_doc [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] |