mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Compare commits
5 Commits
f83a5b3a79
...
0.9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7891bc4c2 | ||
|
|
cbbe4a6cae | ||
|
|
46077144d3 | ||
|
|
49cfd6b753 | ||
|
|
c5b4e033c4 |
51
ChangeLog
51
ChangeLog
@@ -1,3 +1,54 @@
|
||||
====== ChangeLog from 0.8 to 0.9 ======
|
||||
|
||||
|
||||
*Diagram editor :
|
||||
Improved QElectroTech speed (launch qet, open project, function)
|
||||
A drop-down list has been added to the toolbar to change the size of the resize handles.
|
||||
|
||||
|
||||
*Element Editor:
|
||||
The "keep visual rotation" property of element texts is editable from the element editor.
|
||||
Thanks to the work of antonioaja it is now possible to import a dxf directly from the element editor in a completely transparent way for the user.
|
||||
In the background QElectroTech uses the dxf2elmt software. https://qelectrotech.org/forum/viewtopic.php?id=2265 https://github.com/antonioaja/dxf2elmt
|
||||
Improved responsiveness when multiple shapes are selected or deleted, especially when working on a large converted DXF element.
|
||||
https://qelectrotech.org/forum/viewtopic.php?pid=16612#p16612
|
||||
|
||||
*Other:
|
||||
Add a "side project" tab in the "about" window.
|
||||
In the general QElectroTech configuration, a drop down list allows to choose the scaling method for hdpi screens.
|
||||
Allow open polygons (i.e. polylines) when saving in dxf format.
|
||||
https://qelectrotech.org/forum/viewtopic.php?pid=16611#p16611
|
||||
|
||||
Added 'Other' option for slave device contact type.
|
||||
https://github.com/qelectrotech/qelectrotech-source-mirror/pull/222
|
||||
https://qelectrotech.org/forum/viewtopic.php?id=2264
|
||||
|
||||
*Logs:
|
||||
|
||||
Added a QElapsedTimer to calculate the time used to reload the item collection.
|
||||
Improved QElapsedTimer to calculate the time used to reload the item collection in seconds instead of ms.
|
||||
Added Linux pc.gpu.RAM information, but requires mesa-utils dependency on the Linux OS.
|
||||
Added information about mounted disk volumes.
|
||||
Added CPU architecture for which Qt was compiled in the aboutqetdialog widget and in the logs.
|
||||
Added MSVC support to MachineInfo.
|
||||
Added RAM information on Windows of available RAM.
|
||||
Added QElectroTech version to the log file.
|
||||
|
||||
|
||||
|
||||
* Elements collection :
|
||||
Improve collection 8274 elements in 1097 categories (i.e. 9371 files).
|
||||
|
||||
|
||||
|
||||
* macOS :
|
||||
Fix sqlite3 database export on macOS, now I use macports with Digikam scripts instead off Homebrew Package Manager.
|
||||
See: https://invent.kde.org/graphics/digikam/-/tree/master/project/bundles/macports
|
||||
|
||||
|
||||
*Bug fix:
|
||||
see: https://git.tuxfamily.org/qet/qet.git/log/?h=0.8.1
|
||||
|
||||
====== ChangeLog from 0.7 to 0.8 ======
|
||||
|
||||
|
||||
|
||||
BIN
ico/splash.png
BIN
ico/splash.png
Binary file not shown.
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 126 KiB |
@@ -49,9 +49,30 @@ XmlElementCollection::XmlElementCollection(QETProject *project) :
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) // ### Qt 6: remove
|
||||
|
||||
const QChar russian_data[24] = {
|
||||
0x0418, 0x043C, 0x043F, 0x043E, 0x0440, 0x0442, 0x0438, 0x0440,
|
||||
0x043E, 0x0432, 0x0430, 0x043D, 0x043D, 0x044B, 0x0435, 0x0020,
|
||||
0x044D, 0x043B, 0x0435, 0x043C, 0x0435, 0x043D, 0x0442, 0x044B};
|
||||
0x0418,
|
||||
0x043C,
|
||||
0x043F,
|
||||
0x043E,
|
||||
0x0440,
|
||||
0x0442,
|
||||
0x0438,
|
||||
0x0440,
|
||||
0x043E,
|
||||
0x0432,
|
||||
0x0430,
|
||||
0x043D,
|
||||
0x043D,
|
||||
0x044B,
|
||||
0x0435,
|
||||
0x0020,
|
||||
0x044D,
|
||||
0x043B,
|
||||
0x0435,
|
||||
0x043C,
|
||||
0x0435,
|
||||
0x043D,
|
||||
0x0442,
|
||||
0x044B};
|
||||
const QChar greek_data[18] = {
|
||||
0x0395,
|
||||
0x03b9,
|
||||
@@ -84,6 +105,39 @@ XmlElementCollection::XmlElementCollection(QETProject *project) :
|
||||
0x006C,
|
||||
0x0065,
|
||||
0x0072};
|
||||
const QChar ukrainian_data[20] = {
|
||||
0x0406,
|
||||
0x043c,
|
||||
0x043f,
|
||||
0x043e,
|
||||
0x0440,
|
||||
0x0442,
|
||||
0x043e,
|
||||
0x0432,
|
||||
0x0430,
|
||||
0x043d,
|
||||
0x0456,
|
||||
0x0020,
|
||||
0x0435,
|
||||
0x043b,
|
||||
0x0435,
|
||||
0x043c,
|
||||
0x0435,
|
||||
0x043d,
|
||||
0x0442,
|
||||
0x0438};
|
||||
const QChar japanese_data[10] = {
|
||||
0x30A4,
|
||||
0x30F3,
|
||||
0x30D0,
|
||||
0x30FC,
|
||||
0x30C8,
|
||||
0x3055,
|
||||
0x308C,
|
||||
0x305F,
|
||||
0x8981,
|
||||
0x7D20};
|
||||
|
||||
names.addName("fr", "Éléments importés");
|
||||
names.addName("en", "Imported elements");
|
||||
names.addName("de", "Importierte elemente");
|
||||
@@ -100,8 +154,9 @@ XmlElementCollection::XmlElementCollection(QETProject *project) :
|
||||
names.addName("ro", "Elemente importate");
|
||||
names.addName("tr", QString(turkish_data, 12));
|
||||
names.addName("da", "Importerede elementer");
|
||||
names.addName("hr", "Uvezeni elementi");
|
||||
names.addName("sl", "Uvoženi elementi");
|
||||
names.addName("ja", QString(japanese_data, 10));
|
||||
names.addName("uk", QString(ukrainian_data, 20));
|
||||
#else
|
||||
# if TODO_LIST
|
||||
# pragma message("@TODO remove code for QT 6 or later")
|
||||
@@ -122,6 +177,7 @@ XmlElementCollection::XmlElementCollection(QETProject *project) :
|
||||
names.addName("da", "Importerede elementer");
|
||||
names.addName("hr", "Uvezeni elementi");
|
||||
names.addName("sl", "Uvoženi elementi");
|
||||
names.addName("uk", "Імпортовані елементи");
|
||||
#endif
|
||||
|
||||
import.appendChild(names.toXml(m_dom_document));
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace QET {
|
||||
/// QElectroTech version (as string, used to mark projects and elements XML documents)
|
||||
const QString version = "0.90";
|
||||
/// QElectroTech displayed version
|
||||
const QString displayedVersion = "0.90-DEV";
|
||||
const QString displayedVersion = "0.90";
|
||||
QString license();
|
||||
|
||||
//Describe the current state of a graphic item
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include "undocommand/rotateselectioncommand.h"
|
||||
#include "undocommand/rotatetextscommand.h"
|
||||
#include "diagram.h"
|
||||
#include "TerminalStrip/ui/terminalstripeditorwindow.h"
|
||||
#include "ui/diagrameditorhandlersizewidget.h"
|
||||
|
||||
#ifdef BUILD_WITHOUT_KF5
|
||||
@@ -441,16 +440,6 @@ void QETDiagramEditor::setUpActions()
|
||||
}
|
||||
});
|
||||
|
||||
m_terminal_strip_dialog = new QAction(QET::Icons::TerminalStrip, tr("Gestionnaire de borniers (DEV)"), this);
|
||||
connect(m_terminal_strip_dialog, &QAction::triggered, this, [=]()
|
||||
{
|
||||
if (auto project = this->currentProject())
|
||||
{
|
||||
auto tsew {new TerminalStripEditorWindow{project, this}};
|
||||
tsew->show();
|
||||
}
|
||||
});
|
||||
|
||||
//Launch the plugin of terminal generator
|
||||
m_project_terminalBloc = new QAction(QET::Icons::TerminalStrip, tr("Lancer le plugin de création de borniers"), this);
|
||||
connect(m_project_terminalBloc, &QAction::triggered, this, &QETDiagramEditor::generateTerminalBlock);
|
||||
@@ -826,7 +815,6 @@ void QETDiagramEditor::setUpMenu()
|
||||
menu_project -> addAction(m_add_nomenclature);
|
||||
menu_project -> addAction(m_csv_export);
|
||||
menu_project -> addAction(m_project_export_conductor_num);
|
||||
menu_project -> addAction(m_terminal_strip_dialog);
|
||||
menu_project -> addAction(m_project_terminalBloc);
|
||||
#ifdef QET_EXPORT_PROJECT_DB
|
||||
menu_project -> addSeparator();
|
||||
@@ -1540,8 +1528,6 @@ void QETDiagramEditor::slot_updateActions()
|
||||
m_add_nomenclature -> setEnabled(editable_project);
|
||||
m_csv_export -> setEnabled(editable_project);
|
||||
m_project_export_conductor_num-> setEnabled(opened_project);
|
||||
m_terminal_strip_dialog -> setEnabled(editable_project);
|
||||
|
||||
|
||||
slot_updateUndoStack();
|
||||
slot_updateModeActions();
|
||||
|
||||
@@ -192,7 +192,6 @@ class QETDiagramEditor : public QETMainWindow
|
||||
*m_csv_export, ///< generate nomenclature
|
||||
*m_add_nomenclature, ///< Add nomenclature graphics item;
|
||||
*m_add_summary, ///<Add summary graphics item
|
||||
*m_terminal_strip_dialog = nullptr, ///<Launch terminal strip dialog
|
||||
*m_project_terminalBloc, ///< generate terminal block
|
||||
*m_project_export_conductor_num,///<Export the wire num to csv
|
||||
*m_export_project_db, ///Export to file the internal database of the current project
|
||||
|
||||
@@ -1753,9 +1753,30 @@ NamesList QETProject::namesListForIntegrationCategory()
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) // ### Qt 6: remove
|
||||
NamesList names;
|
||||
const QChar russian_data[24] = {
|
||||
0x0418, 0x043C, 0x043F, 0x043E, 0x0440, 0x0442, 0x0438, 0x0440,
|
||||
0x043E, 0x0432, 0x0430, 0x043D, 0x043D, 0x044B, 0x0435, 0x0020,
|
||||
0x044D, 0x043B, 0x0435, 0x043C, 0x0435, 0x043D, 0x0442, 0x044B};
|
||||
0x0418,
|
||||
0x043C,
|
||||
0x043F,
|
||||
0x043E,
|
||||
0x0440,
|
||||
0x0442,
|
||||
0x0438,
|
||||
0x0440,
|
||||
0x043E,
|
||||
0x0432,
|
||||
0x0430,
|
||||
0x043D,
|
||||
0x043D,
|
||||
0x044B,
|
||||
0x0435,
|
||||
0x0020,
|
||||
0x044D,
|
||||
0x043B,
|
||||
0x0435,
|
||||
0x043C,
|
||||
0x0435,
|
||||
0x043D,
|
||||
0x0442,
|
||||
0x044B};
|
||||
const QChar greek_data[18] = {
|
||||
0x0395,
|
||||
0x03b9,
|
||||
@@ -1775,6 +1796,40 @@ NamesList QETProject::namesListForIntegrationCategory()
|
||||
0x03b5,
|
||||
0x03af,
|
||||
0x03b1};
|
||||
const QChar turkish_data[12] = {
|
||||
0x0130,
|
||||
0x0074,
|
||||
0x0068,
|
||||
0x0061,
|
||||
0x006C,
|
||||
0x0020,
|
||||
0x00F6,
|
||||
0x011F,
|
||||
0x0065,
|
||||
0x006C,
|
||||
0x0065,
|
||||
0x0072};
|
||||
const QChar ukrainian_data[20] = {
|
||||
0x0406,
|
||||
0x043c,
|
||||
0x043f,
|
||||
0x043e,
|
||||
0x0440,
|
||||
0x0442,
|
||||
0x043e,
|
||||
0x0432,
|
||||
0x0430,
|
||||
0x043d,
|
||||
0x0456,
|
||||
0x0020,
|
||||
0x0435,
|
||||
0x043b,
|
||||
0x0435,
|
||||
0x043c,
|
||||
0x0435,
|
||||
0x043d,
|
||||
0x0442,
|
||||
0x0438};
|
||||
const QChar japanese_data[10] = {
|
||||
0x30A4,
|
||||
0x30F3,
|
||||
@@ -1801,7 +1856,11 @@ NamesList QETProject::namesListForIntegrationCategory()
|
||||
names.addName("hr", "Uvezeni elementi");
|
||||
names.addName("ca", "Elements importats");
|
||||
names.addName("ro", "Elemente importate");
|
||||
names.addName("tr", QString(turkish_data, 12));
|
||||
names.addName("da", "Importerede elementer");
|
||||
names.addName("sl", "Uvoženi elementi");
|
||||
names.addName("ja", QString(japanese_data, 10));
|
||||
names.addName("uk", QString(ukrainian_data, 20));
|
||||
return (names);
|
||||
#else
|
||||
# if TODO_LIST
|
||||
@@ -1821,6 +1880,9 @@ NamesList QETProject::namesListForIntegrationCategory()
|
||||
names.addName("hr", "Uvezeni elementi");
|
||||
names.addName("ca", "Elements importats");
|
||||
names.addName("ro", "Elemente importate");
|
||||
names.addName("da", "Importerede elementer");
|
||||
names.addName("sl", "Uvoženi elementi");
|
||||
names.addName("uk", "Імпортовані елементи");
|
||||
return (names);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user