#include <AssembleStepDlg.h>
Public Slots | |
void | setTilesCount (int n) |
Signals | |
void | stepChanged (int step) |
void | visibilityChanged (bool showen) |
Public Member Functions | |
AssembleStepDlg (QWidget *parent) | |
virtual | ~AssembleStepDlg () |
Protected Member Functions | |
virtual void | hideEvent (QHideEvent *event) |
virtual void | showEvent (QShowEvent *event) |
Private Slots | |
void | prev () |
void | next () |
Private Attributes | |
QSlider * | m_slider |
QPushButton * | m_next |
QPushButton * | m_prev |
All this dialog contains is the slider and the next and previos buttons. Normally the slider is always in the maximum notch so that all the pieces in the solution are visible. When the solution changes and the number of pieces with it, there is a need the change the slider back to the maximal place where it should be.
AssembleStepDlg::AssembleStepDlg | ( | QWidget * | parent | ) |
virtual AssembleStepDlg::~AssembleStepDlg | ( | ) | [inline, virtual] |
void AssembleStepDlg::setTilesCount | ( | int | n | ) | [slot] |
void AssembleStepDlg::prev | ( | ) | [private, slot] |
void AssembleStepDlg::next | ( | ) | [private, slot] |
void AssembleStepDlg::stepChanged | ( | int | step | ) | [signal] |
void AssembleStepDlg::visibilityChanged | ( | bool | showen | ) | [signal] |
virtual void AssembleStepDlg::hideEvent | ( | QHideEvent * | event | ) | [inline, protected, virtual] |
virtual void AssembleStepDlg::showEvent | ( | QShowEvent * | event | ) | [inline, protected, virtual] |
QSlider* AssembleStepDlg::m_slider [private] |
QPushButton* AssembleStepDlg::m_next [private] |
QPushButton * AssembleStepDlg::m_prev [private] |