質問編集履歴
1
ヘッダーファイルのソースコードを追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -99,4 +99,66 @@
|
|
99
99
|
qDebug("SBOXVAL=" + spinbox.value());
|
100
100
|
}
|
101
101
|
|
102
|
+
```
|
103
|
+
### ヘッダーファイル
|
104
|
+
|
105
|
+
```C++
|
106
|
+
|
107
|
+
|
108
|
+
#ifndef SETUPWINDOW_H
|
109
|
+
#define SETUPWINDOW_H
|
110
|
+
|
111
|
+
#include <QMainWindow>
|
112
|
+
#include <QFile>
|
113
|
+
#include <QFileDialog>
|
114
|
+
#include <QMessageBox>
|
115
|
+
#include <QTextStream>
|
116
|
+
#include <QtWidgets>
|
117
|
+
#include <QRadioButton>
|
118
|
+
#include <QStandardPaths>
|
119
|
+
#include <QProcess>
|
120
|
+
#include <QTimeEdit>
|
121
|
+
#include <QSpinBox>
|
122
|
+
#include <QApplication>
|
123
|
+
|
124
|
+
namespace Ui {
|
125
|
+
class SetupWindow;
|
126
|
+
}
|
127
|
+
|
128
|
+
class SetupWindow : public QMainWindow
|
129
|
+
{
|
130
|
+
|
131
|
+
Q_OBJECT
|
132
|
+
|
133
|
+
public:
|
134
|
+
bool FLEmpty;
|
135
|
+
QStringList filePaths;
|
136
|
+
QString dir_path;
|
137
|
+
QString mem_path;
|
138
|
+
QSpinBox spinbox;
|
139
|
+
int config_1;
|
140
|
+
bool rbtn;
|
141
|
+
bool rbtn_2;
|
142
|
+
explicit SetupWindow(QWidget *parent = 0);
|
143
|
+
~SetupWindow();
|
144
|
+
|
145
|
+
private slots:
|
146
|
+
void on_pushButton_clicked();
|
147
|
+
|
148
|
+
void on_pushButton_2_clicked();
|
149
|
+
|
150
|
+
void on_radioButton_2_clicked();
|
151
|
+
|
152
|
+
void on_radioButton_clicked();
|
153
|
+
|
154
|
+
void on_spinBox_editingFinished();
|
155
|
+
|
156
|
+
void on_spinBox_valueChanged(int arg1);
|
157
|
+
|
158
|
+
private:
|
159
|
+
Ui::SetupWindow *ui;
|
160
|
+
};
|
161
|
+
|
162
|
+
#endif // SETUPWINDOW_H
|
163
|
+
|
102
164
|
```
|