ModelHelpDlg Class Reference

ModelHelpDlg is the solution view sidebar displayed next to ModelGLWidget. More...

#include <ModelHelpDlg.h>

Inherits SizedWidget.

Inheritance diagram for ModelHelpDlg:

Inheritance graph
[legend]
Collaboration diagram for ModelHelpDlg:

Collaboration graph
[legend]
List of all members.

Public Slots

void changeViewPiece (int piece)
 the currently selected (hovered) piece was changed
void changedExternViewPiece (int piece)
 the current selection state was changed.
void clear ()
 sets the current piece to nothing (loaded a new solution)
void updateView (int lHint)
void statsUpdate (int hint, int data)
void updateZoom (int v)

Signals

void zoomChanged (int v)

Public Member Functions

 ModelHelpDlg (QWidget *parent, MainWindow *main, CubeDoc *doc, QGLWidget *shareFrom)
virtual ~ModelHelpDlg ()
PieceGLWidgetgetPieceView ()
virtual QSize minimumSizeHint () const

Protected Member Functions

void resizeEvent (QResizeEvent *event)

Private Member Functions

void updatePixmapLabel (int piece)

Private Attributes

MainWindowm_main
PieceGLWidgetm_pieceView
QLabel * m_picImage
CubeDocm_doc
QSlider * m_zoomSlider
QLabel * m_animLabel
QMovie * m_cubeAnim
ActionPushButtonm_goBot
QSplitter * m_splitter

Detailed Description

ModelHelpDlg is the solution view sidebar displayed next to ModelGLWidget.

the solution sidebar contains the following widgets:

the botder betweent the 3D piece view and the rest of the sidebar is a split window border which can be moved if the user wants to resize the piece view.

See also:
PieceGLWidget


Constructor & Destructor Documentation

ModelHelpDlg::ModelHelpDlg ( QWidget *  parent,
MainWindow main,
CubeDoc doc,
QGLWidget *  shareFrom 
)

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


Member Function Documentation

PieceGLWidget* ModelHelpDlg::getPieceView (  )  [inline]

QSize ModelHelpDlg::minimumSizeHint (  )  const [virtual]

void ModelHelpDlg::changeViewPiece ( int  piece  )  [slot]

the currently selected (hovered) piece was changed

void ModelHelpDlg::changedExternViewPiece ( int  piece  )  [slot]

the current selection state was changed.

possibly there's a need to switch from single piece viewing to whole solution viewing.

void ModelHelpDlg::clear (  )  [slot]

sets the current piece to nothing (loaded a new solution)

void ModelHelpDlg::updateView ( int  lHint  )  [slot]

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

void ModelHelpDlg::updateZoom ( int  v  )  [slot]

void ModelHelpDlg::zoomChanged ( int  v  )  [signal]

void ModelHelpDlg::resizeEvent ( QResizeEvent *  event  )  [protected]

void ModelHelpDlg::updatePixmapLabel ( int  piece  )  [private]


Member Data Documentation

QLabel* ModelHelpDlg::m_picImage [private]

QSlider* ModelHelpDlg::m_zoomSlider [private]

QLabel* ModelHelpDlg::m_animLabel [private]

QMovie* ModelHelpDlg::m_cubeAnim [private]

QSplitter* ModelHelpDlg::m_splitter [private]


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