mirror of
https://github.com/leozide/leocad
synced 2024-12-28 22:23:35 +01:00
34 lines
649 B
C++
34 lines
649 B
C++
#pragma once
|
|
|
|
//struct lcInstructionsPageLayout;
|
|
#include "lc_model.h"
|
|
|
|
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;
|
|
};
|