Commit Graph

5970 Commits

Author SHA1 Message Date
Claveau Joshua
0897ed43fe Add table dialog : table config can saved and loaded.
The dialog used to edit the configuration of QetGraphicsTable item can
now save and load a configuration from graphics_table.json file located
in the user config dir.
2020-05-30 20:18:44 +02:00
Laurent Trinques
261abfa10b Revert "fix deprecated warning QList::swap()"
This reverts commit b5a33429df.
2020-05-30 06:47:34 +02:00
Simon De Backer
b5a33429df fix deprecated warning QList::swap()
Use
QList::swapItemsAt()
instead.
2020-05-30 06:24:40 +02:00
Simon De Backer
09006dc75f fix deprecated warning QDir& QDir::operator=(const QString&)
This function is obsolete.

Use
QDir::setPath() instead
instead.
2020-05-30 06:24:04 +02:00
Simon De Backer
9ee911e484 fix -Wswitch warning
add default and Qt::MarkdownText
2020-05-30 06:23:43 +02:00
Claveau Joshua
27472bdd8b Nomenclature model don't save header data "display role"
The model doesn't save anymore the header data with role
Qt::displayRole.
The header display role is now generated in the fly, by concequent the
header displayed texts are always in the current local
2020-05-29 20:54:50 +02:00
Simon De Backer
70f0541e06 fix deprecated warning qVariantFromValue
This function is obsolete.
Note:
This function was provided as a workaround for MSVC 6
which did not support member template functions.
It is advised to use the other form in new code.

This function is equivalent to QVariant::fromValue(value).
2020-05-29 14:56:07 +02:00
Simon De Backer
86a4701d2b fix deprecated warning QLineF::intersect
This function is obsolete.

Use
QLineF::intersects(const QLineF &line, QPointF *intersectionPoint) const
instead.
This function was introduced in Qt 5.14.
2020-05-29 14:55:54 +02:00
Simon De Backer
0611fe2798 fix deprecated warning QTime::start()
Use
QElapsedTimer::QElapsedTimer()
instead.
This function was introduced in Qt 5.4.
2020-05-29 14:55:37 +02:00
Simon De Backer
22566a1bc6 fix deprecated warning QFontMetrics::width(QChar ch)
Use
QFontMetrics::horizontalAdvance(const QString &text, int len = -1)
instead.
This function was introduced in Qt 5.11.
2020-05-29 14:55:27 +02:00
Simon De Backer
addcdeb2a0 fix -Wmisleading-indentation warning
there were spaces used to indent the conditional line
2020-05-29 14:03:26 +02:00
Simon De Backer
e56701d336 *fix deprecated warning QWidget::getContentsMargins
This function is obsolete.

Use contentsMargins().
instead.

This function was introduced in Qt 4.6.
2020-05-29 14:03:00 +02:00
aitolos
61ebbbc23c Greek Lang update 2020-05-28 21:45:37 +03:00
sdeffaux
0b3d287c75 add and update symbols 2020-05-28 17:55:11 +02:00
Simon De Backer
362509cb38 fix deprecated warning QSet<T>::toList() Use values() instead.
warning: ‘QList<T> QSet<T>::toList() const [with T = Conductor*]’
is deprecated: Use values() instead. [-Wdeprecated-declarations]

QT_VERSION 5.15.0
GCC 64bit
2020-05-28 15:54:53 +02:00
artgg7300
7948e2b1d3 updated hungarian language files 2020-05-28 06:06:14 +02:00
dlee99
abdb76b68e modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-05-26 22:42:37 +02:00
Claveau Joshua
75e6f28221 Reduce the time spend when nomenclature table is created automatically 2020-05-26 22:00:32 +02:00
Laurent Trinques
5772d919e3 Update *TS files 2020-05-25 13:44:14 +02:00
Laurent Trinques
1e9cb8a75a Update Polish translation, thanks Rafal 2020-05-25 13:26:32 +02:00
Simon De Backer
bb2c822b2f Add some "Vaillant" hydraulic elements for allSTOR 2020-05-24 19:20:50 +02:00
Claveau Joshua
65777a0fb5 Minor typo 2020-05-24 17:23:11 +02:00
Claveau Joshua
df26c5b7ed Add nomenclature dialog : enable option "add new folio and table if needed" 2020-05-24 17:17:17 +02:00
Claveau Joshua
7ea42752a4 Change the way how a diagram is added
Now it's the project itself who manage the adding of diagram instead of
the diagram view, it's more coherent
2020-05-24 16:24:39 +02:00
Claveau Joshua
edfdf83c99 Nomenclature : enable option "fit to diagram" 2020-05-24 15:03:56 +02:00
Maximilian Federle
0c550497d1 snap: Start org.freedesktop.portal.Desktop on launch
Open & save dialogs might fail if it is not running.
org.freedesktop.portal.Desktop is DBus activated and this doesn't play
nicely with AppArmor at the moment.
2020-05-24 14:12:09 +02:00
Laurent Trinques
30dbcae2a5 Typo 2020-05-20 02:36:23 +02:00
Laurent Trinques
a7121cce50 Improve : Try to launch qet_tb_generator portable version of the plugin
if user put binary on QDir::homePath()
2020-05-20 02:27:47 +02:00
Laurent Trinques
83b58ec246 Try to launch qet_tb_generator portable version of the plugin if user
put binary on QDir::homePath()
2020-05-19 11:15:52 +02:00
Claveau Joshua
77c9cad501 Animate search and replace widget when close with the button of the widget 2020-05-17 15:59:23 +02:00
Laurent Trinques
987dbd3fa6 Add symbol 2020-05-17 10:24:13 +02:00
Laurent Trinques
b41a0656ec Minor : increase max conductors to 20px 2020-05-16 16:00:32 +02:00
Laurent Trinques
fca9c7c479 Minor : set maximum to 99 text conductor 2020-05-16 15:56:00 +02:00
Laurent Trinques
f360973eeb Macos add key LSMinimumSystemVersion 2020-05-15 13:34:41 +02:00
Claveau Joshua
70493a06f7 Minor : typo and tab edit order 2020-05-15 11:38:09 +02:00
Claveau Joshua
e40ba32281 Bug fix : some element informations can't be set 2020-05-15 10:26:05 +02:00
Laurent Trinques
4ee65320f3 Update binary of norwegian translation 2020-05-14 20:20:56 +02:00
Joel As
da297c8591 Recent update of norwegian translation 2020-05-14 20:16:52 +02:00
Laurent Trinques
6041818d8f Update qet_nb.ts qet_nb.qm, thanks Joel 2020-05-14 17:32:57 +02:00
Laurent Trinques
d14d5de442 Update qet_nb.ts 2020-05-14 16:48:30 +02:00
Laurent Trinques
cc9124cdfb Prepare to add new country Norwegian switch 2020-05-14 16:01:40 +02:00
Ole Carlsen
b1ef5d4b2b anish translation updated 2020-05-12 18:44:36 +02:00
Claveau Joshua
0015f4a694 Qet graphics table item can be removed from diagram 2020-05-12 11:17:25 +02:00
artgg7300
50f061697c translated hungarian files 2020-05-10 10:11:08 +02:00
Claveau Joshua
37efa97ce7 qet graphics table item : to/from xml change
The font, alignment and margins is not saved by the table anymore but by
the model.
2020-05-08 00:08:57 +02:00
Maximilian Federle
9fa7e21905 snap: Prevent the use of the KDE Plasma platformtheme
A KDE session forces the KDE Plasma platformtheme which is incompatible with QET.
Unset the ENV vars in that case to prevent loading of the theme.
2020-05-06 23:15:52 +02:00
Laurent Trinques
bc9ebca815 Update *TS files 2020-05-06 21:12:36 +02:00
Laurent Trinques
f3138960b1 Fix : key sequence 'space' don't work with nl be local 2020-05-06 21:11:11 +02:00
Laurent Trinques
f316ab5900 Update *TS files 2020-05-06 19:21:32 +02:00
Claveau Joshua
66a3c269ca Fix : key sequence 'space' don't work with nl be local 2020-05-06 19:14:42 +02:00