-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathsettings.h
More file actions
executable file
·57 lines (47 loc) · 2.65 KB
/
settings.h
File metadata and controls
executable file
·57 lines (47 loc) · 2.65 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* Copyright (c) 2015-2016 Nicola Corna (nicola@corna.info)
* Copyright (c) 2025 Enrique Condes (kosmerebel@gmail.com)
*
* This file is part of pcb2gcodeGUI.
*
* pcb2gcodeGUI is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* pcb2gcodeGUI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with pcb2gcodeGUI. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SETTINGS
#define SETTINGS
#include <QObject>
#include <QVector>
#ifdef Q_OS_WIN
#define PCB2GCODE_COMMAND_NAME "pcb2gcode.exe"
#else
#define PCB2GCODE_COMMAND_NAME "pcb2gcode"
#endif
#define PCB2GCODE_EXECUTABLE PCB2GCODE_COMMAND_NAME
#define PCB2GCODE_GUI_VERSION "2.5.0"
static const char *about_pcb2gcode_str = "pcb2gcode v%1<br>"
"<a href='https://github.com/pcb2gcode/pcb2gcode'>https://github.com/pcb2gcode/pcb2gcode</a><br>";
static const char *about_pcb2gcodegui_str = "pcb2gcodeGUI v%1<br>"
"Created by Nicola Corna (nicola@corna.info)<br>"
"Supported by Enrique Condes (kosmerebel@gmail.com)<br>"
"<a href='https://github.com/pcb2gcode/pcb2gcodeGUI'>https://github.com/pcb2gcode/pcb2gcodeGUI</a>";
static const char *manual_link = "https://github.com/pcb2gcode/pcb2gcode/wiki/Manual";
static const char *default_config_filename = "/default_millproject";
static const QString gerber_front_file_filter("Gerber front files (*.gbr *.gtl *.gml);;");
static const QString gerber_back_file_filter("Gerber back files (*.gbr *.gbl *.gml);;");
static const QString gerber_outline_file_filter("Gerber outline files (*.gbr *.gm1);;");
static const QString gerber_file_filter = "Gerber files (*.gbl *.gbs *.gbo *.gbp *.gko *.gm1 *.gm2 *.g1 *.g2 *.gp1 *.gp2 *.gpb *.gpt *.gtp *.gtl *.gts *.gto *.gbr *.grb *.gml);;All types (*.*)";
static const QString excellon_file_filter = "Excellon files (*.drl *.drd *.dri *.txt);;All types (*.*)";
static const QString gcode_file_filter = "G-Code files (*.nc *.cnc *.ncc *.ecs *.ngc *.fan *.hnc);;All types (*.*)";
static const QString text_file_filter = "Text files (*.*)";
static const QVector<int> targetVersion(QVector<int>() << 2 << 5 << 0);
#endif // SETTINGS