diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2ff46a6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.o +/Export +.exe + diff --git a/img.qrc b/img.qrc index dedb221..3fd215d 100644 --- a/img.qrc +++ b/img.qrc @@ -1,6 +1 @@ - - - top_headv3.jpg - my_sub.jpg - - + diff --git a/new_top.jpg b/new_top.jpg new file mode 100644 index 0000000..cd3144d Binary files /dev/null and b/new_top.jpg differ diff --git a/news_info.cpp b/news_info.cpp new file mode 100644 index 0000000..268973e --- /dev/null +++ b/news_info.cpp @@ -0,0 +1,14 @@ +#include "news_info.h" +#include "ui_news_info.h" + +news_info::news_info(QWidget *parent) : + QDialog(parent), + ui(new Ui::news_info) +{ + ui->setupUi(this); +} + +news_info::~news_info() +{ + delete ui; +} diff --git a/news_info.h b/news_info.h new file mode 100644 index 0000000..ab47bb6 --- /dev/null +++ b/news_info.h @@ -0,0 +1,22 @@ +#ifndef NEWS_INFO_H +#define NEWS_INFO_H + +#include + +namespace Ui { +class news_info; +} + +class news_info : public QDialog +{ + Q_OBJECT + +public: + explicit news_info(QWidget *parent = 0); + ~news_info(); + +private: + Ui::news_info *ui; +}; + +#endif // NEWS_INFO_H diff --git a/news_info.ui b/news_info.ui new file mode 100644 index 0000000..7a0f919 --- /dev/null +++ b/news_info.ui @@ -0,0 +1,18 @@ + + news_info + + + + 0 + 0 + 400 + 300 + + + + Dialog + + + + +