#include <ModelHelpDlg.h>
Inherits SizedWidget.
Inheritance diagram for ModelHelpDlg:
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 () |
PieceGLWidget * | getPieceView () |
virtual QSize | minimumSizeHint () const |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *event) |
Private Member Functions | |
void | updatePixmapLabel (int piece) |
Private Attributes | |
MainWindow * | m_main |
PieceGLWidget * | m_pieceView |
QLabel * | m_picImage |
CubeDoc * | m_doc |
QSlider * | m_zoomSlider |
QLabel * | m_animLabel |
QMovie * | m_cubeAnim |
ActionPushButton * | m_goBot |
QSplitter * | m_splitter |
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.
ModelHelpDlg::ModelHelpDlg | ( | QWidget * | parent, | |
MainWindow * | main, | |||
CubeDoc * | doc, | |||
QGLWidget * | shareFrom | |||
) |
virtual ModelHelpDlg::~ModelHelpDlg | ( | ) | [inline, virtual] |
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] |
MainWindow* ModelHelpDlg::m_main [private] |
PieceGLWidget* ModelHelpDlg::m_pieceView [private] |
QLabel* ModelHelpDlg::m_picImage [private] |
CubeDoc* ModelHelpDlg::m_doc [private] |
QSlider* ModelHelpDlg::m_zoomSlider [private] |
QLabel* ModelHelpDlg::m_animLabel [private] |
QMovie* ModelHelpDlg::m_cubeAnim [private] |
ActionPushButton* ModelHelpDlg::m_goBot [private] |
QSplitter* ModelHelpDlg::m_splitter [private] |