added custom info window,

set min size to mainwindow
This commit is contained in:
Anakin
2017-01-16 15:41:37 +01:00
parent 86dfe32145
commit 47c73ed881
6 changed files with 196 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include <QWidget>
#include <QString>
#include "ui_FileInfoWindow.h"
class FileInfoWindow : public QWidget
{
Q_OBJECT
public:
FileInfoWindow(QWidget *parent = Q_NULLPTR);
~FileInfoWindow();
private:
Ui::FileInfoWindow* ui;
public:
void setBasicText(QString text);
void setDetailText(QString text);
};

View File

@@ -6,6 +6,7 @@
#include <QStringList>
#include <QLabel>
#include "ui_MainWindow.h"
#include "..\Header\FileInfoWindow.h"
struct Material;
@@ -23,6 +24,7 @@ private:
void setupWidgets();
QByteArray m_fileInfo;
QLabel* m_output;
FileInfoWindow* m_infoWindow;
private:
void openFile();