leocad/common/lc_instructionsdialog.h

35 lines
649 B
C
Raw Normal View History

2020-06-01 03:46:36 +02:00
#pragma once
2020-06-01 21:29:30 +02:00
//struct lcInstructionsPageLayout;
#include "lc_model.h"
2020-06-01 03:46:36 +02:00
class lcInstructionsPageWidget : public QGraphicsView
{
Q_OBJECT
public:
lcInstructionsPageWidget(QWidget* Parent, Project* Project);
void SetCurrentPage(lcInstructionsPageLayout* PageLayout);
};
class lcInstructionsDialog : public QMainWindow
{
Q_OBJECT
public:
lcInstructionsDialog(QWidget* Parent, Project* Project);
protected slots:
void CurrentThumbnailChanged(int Index);
protected:
Project* mProject;
int mCurrentPageNumber;
std::vector<lcInstructionsPageLayout> mPageLayouts;
QListWidget* mThumbnailsWidget;
lcInstructionsPageWidget* mPageWidget;
};