first version
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
, ui(new Ui::MainWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
imageGallery = new ImageGallery(this);
|
||||
setCentralWidget(imageGallery);
|
||||
setWindowTitle("Image Gallery");
|
||||
imageGallery->addImage("/home/krzys/Obrazy/kod.png");
|
||||
imageGallery->addImage("/home/krzys/Obrazy/kod.png");
|
||||
resize(800, 600);
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user