work save
This commit is contained in:
parent
c90d0f93ab
commit
c13ab76e73
|
@ -145,6 +145,7 @@ SOURCES += \
|
|||
widgets/lightfusionstyle.cpp \
|
||||
widgets/macroinfomodel.cpp \
|
||||
widgets/newclassdialog.cpp \
|
||||
widgets/newheaderdialog.cpp \
|
||||
widgets/newprojectdialog.cpp \
|
||||
widgets/ojproblempropertywidget.cpp \
|
||||
widgets/ojproblemsetmodel.cpp \
|
||||
|
@ -270,6 +271,7 @@ HEADERS += \
|
|||
widgets/lightfusionstyle.h \
|
||||
widgets/macroinfomodel.h \
|
||||
widgets/newclassdialog.h \
|
||||
widgets/newheaderdialog.h \
|
||||
widgets/newprojectdialog.h \
|
||||
widgets/ojproblempropertywidget.h \
|
||||
widgets/ojproblemsetmodel.h \
|
||||
|
@ -319,6 +321,7 @@ FORMS += \
|
|||
widgets/custommakefileinfodialog.ui \
|
||||
widgets/filepropertiesdialog.ui \
|
||||
widgets/newclassdialog.ui \
|
||||
widgets/newheaderdialog.ui \
|
||||
widgets/newprojectdialog.ui \
|
||||
widgets/ojproblempropertywidget.ui \
|
||||
widgets/searchdialog.ui \
|
||||
|
@ -405,16 +408,17 @@ for (translation, all_translations) {
|
|||
qmake_qm_files.files = $$QM_FILES
|
||||
qmake_qm_files.base = $$OUT_PWD/$$LRELEASE_DIR
|
||||
qmake_qm_files.prefix = $$QM_FILES_RESOURCE_PREFIX
|
||||
RESOURCES += qmake_qm_files
|
||||
|
||||
iconsets_files.files += $$files(resources/iconsets/*.svg, true)
|
||||
iconsets_files.files += $$files(resources/iconsets/*.json, true)
|
||||
RESOURCES += iconsets_files
|
||||
|
||||
theme_files.files += $$files(themes/*.json, false)
|
||||
theme_files.files += $$files(themes/*.png, false)
|
||||
RESOURCES += theme_files
|
||||
|
||||
colorscheme_files.files += $$files(colorschemes/*.scheme, false)
|
||||
colorscheme_files.prefix = /colorschemes
|
||||
|
||||
RESOURCES += qmake_qm_files
|
||||
RESOURCES += iconsets_files
|
||||
RESOURCES += theme_files
|
||||
RESOURCES += colorscheme_files
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
#include "newheaderdialog.h"
|
||||
#include "ui_newheaderdialog.h"
|
||||
|
||||
NewHeaderDialog::NewHeaderDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::NewHeaderDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
NewHeaderDialog::~NewHeaderDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef NEWHEADERDIALOG_H
|
||||
#define NEWHEADERDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class NewHeaderDialog;
|
||||
}
|
||||
|
||||
class NewHeaderDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit NewHeaderDialog(QWidget *parent = nullptr);
|
||||
~NewHeaderDialog();
|
||||
|
||||
private:
|
||||
Ui::NewHeaderDialog *ui;
|
||||
};
|
||||
|
||||
#endif // NEWHEADERDIALOG_H
|
|
@ -0,0 +1,78 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>NewHeaderDialog</class>
|
||||
<widget class="QDialog" name="NewHeaderDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>40</y>
|
||||
<width>69</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Header:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>40</y>
|
||||
<width>113</width>
|
||||
<height>27</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>40</x>
|
||||
<y>90</y>
|
||||
<width>69</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Path:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>80</y>
|
||||
<width>113</width>
|
||||
<height>27</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QToolButton" name="btnBrowse">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>350</x>
|
||||
<y>80</y>
|
||||
<width>28</width>
|
||||
<height>27</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
Loading…
Reference in New Issue