-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsettings_dlg.h
More file actions
39 lines (27 loc) · 739 Bytes
/
settings_dlg.h
File metadata and controls
39 lines (27 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef SETTINGS_DLG_H
#define SETTINGS_DLG_H
#include <QtGui>
#include <QSettings>
#include <QCoreApplication>
#include <QFileDialog>
#include <QDebug>
#include "ui_settings.h"
class SettingsDialog : public QDialog , private Ui_Settings
{
Q_OBJECT
public:
SettingsDialog(QWidget* parent, QString& homedir);
void setValues(QString& rs, QString& tbl, QString& gcode);
QString rs274;
QString tooltable;
QString gcodefile;
private:
void onFileBrowse(int buttonNumber);
QString home_dir;
private slots:
virtual void onFileBrowse1() {onFileBrowse(1);}
virtual void onFileBrowse2() {onFileBrowse(2);}
virtual void onFileBrowse3() {onFileBrowse(3);}
virtual void onAccept();
};
#endif