Skip to content

Commit 0e85601

Browse files
committed
EdytorNC->GCodeWorkShop: rename in code
1 parent 945270e commit 0e85601

16 files changed

+52
-52
lines changed

Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ DOXYFILE_ENCODING = UTF-8
3232
# title of most generated pages and in a few other places.
3333
# The default value is: My Project.
3434

35-
PROJECT_NAME = edytornc
35+
PROJECT_NAME = GCodeWorkShop
3636

3737
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 0.1
41+
PROJECT_NUMBER = 2024.05
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

addons/src/addons-actions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ void Addons::Actions::doCompileMacro()
261261
GCodeWorkShop* enc = GCodeWorkShop::instance();
262262

263263
if (compiler.compile(ctx.text()) == -1) {
264-
QMessageBox::warning(enc, tr("EdytorNc - compile macro"), compiler.status());
264+
QMessageBox::warning(enc, tr("GCodeWorkShop - compile macro"), compiler.status());
265265
//return;
266266
}
267267

gcodefileserver/filechecker.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
14-
<string>EdytorNC - File checker</string>
14+
<string>GCodeWorkShop - File checker</string>
1515
</property>
1616
<property name="sizeGripEnabled">
1717
<bool>true</bool>

gcodefileserver/gcodefileserver.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ GCodeFileServer::GCodeFileServer(QWidget* parent) : QMainWindow(parent), ui(new
6060

6161
setWindowModality(Qt::NonModal);
6262

63-
setWindowTitle(tr("EdytorNC - Serial port file server"));
63+
setWindowTitle(tr("GCodeWorkShop - Serial port file server"));
6464

6565
windowMapper = new QSignalMapper(this);
6666
connect(windowMapper, SIGNAL(mapped(QWidget*)), this, SLOT(setActiveSubWindow(QWidget*)));
@@ -98,7 +98,7 @@ GCodeFileServer::~GCodeFileServer()
9898

9999
void GCodeFileServer::closeEvent(QCloseEvent* event)
100100
{
101-
// QMessageBox::StandardButton result = QMessageBox::warning(this, tr("EdytorNC - Serial port file server"),
101+
// QMessageBox::StandardButton result = QMessageBox::warning(this, tr("GCodeWorkShop - Serial port file server"),
102102
// tr("You are trying to close a file server.\nAre you shure?"),
103103
// QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
104104

@@ -112,7 +112,7 @@ void GCodeFileServer::closeEvent(QCloseEvent* event)
112112
event->accept();
113113
} else {
114114
if (trayIcon->isVisible()) {
115-
QMessageBox::information(this, tr("EdytorNC - Serial port file server"),
115+
QMessageBox::information(this, tr("GCodeWorkShop - Serial port file server"),
116116
tr("The program will keep running in the "
117117
"system tray. To terminate the program, "
118118
"choose <b>Quit</b> in the context menu "
@@ -580,14 +580,14 @@ void GCodeFileServer::quitApp()
580580

581581
void GCodeFileServer::about()
582582
{
583-
QMessageBox::about(this, tr("About EdytorNC - Serial port file server"),
584-
tr("The <b>EdytorNC</b> is text editor for CNC programmers."
585-
"<P>Version: same as EdytorNC"
583+
QMessageBox::about(this, tr("About GCodeWorkShop - Serial port file server"),
584+
tr("The <b>GCodeWorkShop</b> is text editor for CNC programmers."
585+
"<P>Version: same as GCodeWorkShop"
586586
"<P>Copyright (C) 1998 - 2015 by <a href=\"mailto:artkoz78@gmail.com\">Artur Kozioł</a>"
587587
"<P>"
588-
"<P>EdytorNC contains pieces of code from other Open Source projects."
588+
"<P>GCodeWorkShop contains pieces of code from other Open Source projects."
589589
"<P>"
590-
"<P><i>EdytorNC - Serial port file server is free software; you can redistribute it and/or modify"
590+
"<P><i>GCodeWorkShop - Serial port file server is free software; you can redistribute it and/or modify"
591591
"it under the terms of the GNU General Public License as published by"
592592
"the Free Software Foundation; either version 2 of the License, or"
593593
"(at your option) any later version.</i>"

gcodeshared/include/utils/medium.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Medium : public QObject
4141
Q_OBJECT
4242

4343
public:
44-
const QString APP_NAME = "edytornc";
44+
const QString APP_NAME = "gcodeworkshop";
4545

4646
enum {
4747
LAUNCH_SANDBOX, /**< The application has been run in project directory. */

gcodeshared/serialportconfigdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ void SerialPortConfigDialog::removeFileNameButtonClicked()
888888
void SerialPortConfigDialog::helpButtonClicked()
889889
{
890890
// TODO: change a path to the file
891-
QDesktopServices::openUrl(QUrl(QString("file:///%1/EdytorNC_SerialTransmission_Help.html").arg(
891+
QDesktopServices::openUrl(QUrl(QString("file:///%1/SerialTransmission_Help.html").arg(
892892
QCoreApplication::applicationDirPath()), QUrl::TolerantMode));
893893
// SerialPortCfgHelpDialog helpDialog;
894894
// helpDialog.exec();

gcodeshared/serialportconfigdialog.ui

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@
594594
<property name="toolTip">
595595
<string>XOFF (DC3) - 19 Dec. 0x13 Hex.
596596
XOFF (DC4) - 20 Dec. 0x14 Hex.
597-
This setting is used only in EdytorNC (is not applied to serial port) and works with hardware and software flow control.
597+
This setting is used only in GCodeWorkShop (is not applied to serial port) and works with hardware and software flow control.
598598
Set XON or XOFF to 0 if you want disable it.</string>
599599
</property>
600600
<property name="text">
@@ -629,7 +629,7 @@ Set XON or XOFF to 0 if you want disable it.</string>
629629
<property name="toolTip">
630630
<string>XON (DC1) - 17 Dec. 0x11 Hex.
631631
XON (DC2) - 18 Dec. 0x12 Hex.
632-
This setting is used only in EdytorNC (is not applied to serial port) and works with hardware and software flow control.
632+
This setting is used only in GCodeWorkShop (is not applied to serial port) and works with hardware and software flow control.
633633
Set XON or XOFF to 0 if you want disable it.</string>
634634
</property>
635635
<property name="text">
@@ -864,7 +864,7 @@ Vailid QtRegExp should be entered.</string>
864864
</sizepolicy>
865865
</property>
866866
<property name="toolTip">
867-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This field contains expression used to find end of received CNC program (end of transmission).&lt;/p&gt;&lt;p&gt;It must contain valid Qt regular expression (QRexExp). See &lt;a href=&quot;http://doc.qt.io/qt-5/qregexp.html&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#00a489;&quot;&gt;http://doc.qt.io/qt-5/qregexp.html&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In EdytorNC you can check this expression in function &amp;quot;Clean up&amp;quot;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
867+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This field contains expression used to find end of received CNC program (end of transmission).&lt;/p&gt;&lt;p&gt;It must contain valid Qt regular expression (QRexExp). See &lt;a href=&quot;http://doc.qt.io/qt-5/qregexp.html&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#00a489;&quot;&gt;http://doc.qt.io/qt-5/qregexp.html&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In GCodeWorkShop you can check this expression in function &amp;quot;Clean up&amp;quot;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
868868
</property>
869869
<property name="editable">
870870
<bool>true</bool>
@@ -1536,7 +1536,7 @@ This setting can cause data loss if detection of filename fails.</string>
15361536
p, li { white-space: pre-wrap; }
15371537
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
15381538
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Serial port file server.&lt;/p&gt;
1539-
&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; font-family:'arial,sans-serif';&quot; style=&quot; margin-top:12px; margin-bottom:0px; margin-left:15px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Start file server in EdytorNC&lt;/li&gt;
1539+
&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; font-family:'arial,sans-serif';&quot; style=&quot; margin-top:12px; margin-bottom:0px; margin-left:15px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Start file server in GCodeWorkShop&lt;/li&gt;
15401540
&lt;li style=&quot; font-family:'arial,sans-serif';&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:15px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Send any file from CNC, it will be saved in computer (as is set in Autosave tab)&lt;/li&gt;
15411541
&lt;li style=&quot; font-family:'arial,sans-serif';&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:15px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Send special program from CNC: &lt;/li&gt;
15421542
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:15px; margin-right:0px; -qt-block-indent:1; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'arial,sans-serif';&quot;&gt;%&lt;/span&gt;&lt;/p&gt;
@@ -1738,7 +1738,7 @@ p, li { white-space: pre-wrap; }
17381738
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
17391739
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;This field contains expression used to find filename in &amp;quot;Caller&amp;quot; program.&lt;/p&gt;
17401740
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;It must contain valid Qt regular expression (QRexExp). See &lt;a href=&quot;http://doc.qt.io/qt-5/qregexp.html&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#00a489;&quot;&gt;http://doc.qt.io/qt-5/qregexp.html&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
1741-
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;In EdytorNC you can check this expression in function &amp;quot;Clean up&amp;quot;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1741+
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;In GCodeWorkShop you can check this expression in function &amp;quot;Clean up&amp;quot;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
17421742
</property>
17431743
<property name="editable">
17441744
<bool>true</bool>

gcodeshared/serialtransmissiondialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ void SerialTransmissionDialog::showSerialPortError(QSerialPort::SerialPortError
415415
} else {
416416
writeLog(tr("ERROR:\t Serial port error %1: \"%2\".").arg(error).arg(serialPort.errorString()),
417417
"");
418-
msgBox.setWindowTitle(tr("EdytorNC - serial transmission"));
418+
msgBox.setWindowTitle(tr("GCodeWorkShop - serial transmission"));
419419
msgBox.setText(text);
420420
msgBox.setIcon(QMessageBox::Critical);
421421
msgBox.exec();

0 commit comments

Comments
 (0)