Commit 9a35398b authored by Laurent Montel's avatar Laurent Montel 😁

Azdd layout

parent 310fc1c5
...@@ -27,6 +27,8 @@ using namespace WebEngineViewer; ...@@ -27,6 +27,8 @@ using namespace WebEngineViewer;
PrintPreviewDialog::PrintPreviewDialog(QWidget *parent) PrintPreviewDialog::PrintPreviewDialog(QWidget *parent)
: QDialog(parent) : QDialog(parent)
{ {
QVBoxLayout *layout = new QVBoxLayout;
setLayout(layout);
} }
......
...@@ -22,12 +22,15 @@ ...@@ -22,12 +22,15 @@
namespace WebEngineViewer namespace WebEngineViewer
{ {
class PrintPreviewPageViewer;
class PrintPreviewDialog : public QDialog class PrintPreviewDialog : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit PrintPreviewDialog(QWidget *parent = Q_NULLPTR); explicit PrintPreviewDialog(QWidget *parent = Q_NULLPTR);
~PrintPreviewDialog(); ~PrintPreviewDialog();
private:
PrintPreviewPageViewer *mPrintPreviewPage;
}; };
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment