AssembleStepDlg Class Reference

AssembleStepDlg is the small dialog that contains a slider that controls the assembly step shown. More...

#include <AssembleStepDlg.h>

List of all members.

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


Detailed Description

AssembleStepDlg is the small dialog that contains a slider that controls the assembly step shown.

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.


Constructor & Destructor Documentation

AssembleStepDlg::AssembleStepDlg ( QWidget *  parent  ) 

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


Member Function Documentation

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]


Member Data Documentation

QSlider* AssembleStepDlg::m_slider [private]

QPushButton* AssembleStepDlg::m_next [private]

QPushButton * AssembleStepDlg::m_prev [private]


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