Commit Graph

5835 Commits

Author SHA1 Message Date
Simon De Backer
fe64923ffe fix deprecated warning QSet<T> QList<T>::toSet()
Use
QSet<T>(list.begin(), list.end())
instead.

This function was introduced in Qt 5.14
2020-06-08 03:52:51 +02:00
Simon De Backer
37658efd0d fix deprecated warning qUpperBound
Use
std::upper_bound
instead.
2020-06-07 16:42:41 +02:00
Simon De Backer
20a739fa96 fix deprecated warning QList::swap() attempt 2
Use
QList::swapItemsAt()
instead.

This function was introduced in Qt 5.13.
2020-06-07 16:42:26 +02:00
Simon De Backer
24528b0fdb fix deprecated warning QModelIndex::child
Use
QModelIndex::index
instead.

This function was DEPRECATED_SINCE(5, 8)
2020-06-07 16:42:17 +02:00
Simon De Backer
803414f716 remove user-defined copy constructor
We need to define our own copy constructor only
if an object has pointers or any runtime allocation
of the resource like file handle, a network connection..etc.

note: Default constructor does only shallow copy.
2020-06-07 16:41:42 +02:00
Claveau Joshua
9085c6fcda table item : remove a table remove also all linked tables 2020-06-05 20:00:13 +02:00
Claveau Joshua
ae9ef3cf21 Make a copie of previous table model when unlink a table from her previous table. 2020-06-04 14:17:14 +02:00
Claveau Joshua
8ad876fb31 Improve the use of the database 2020-06-03 19:46:27 +02:00
Claveau Joshua
b445ce8934 Nomenclature model : Improve function to setup the name of header 2020-06-03 19:15:21 +02:00
Claveau Joshua
042faeae32 Table widget : Enable arrow to quicly switch to previous/next linked table 2020-06-02 19:44:19 +02:00
Simon De Backer
de88b32e5b fix deprecated warning QPainter::drawRoundRect
Use
QPainter::drawRoundedRect
instead.

This function was introduced in Qt 4.4.
2020-06-02 06:23:17 +02:00
Simon De Backer
74c3fc8dd9 fix deprecated warning QTreeWidgetItem::setBackgroundColor
Use
setBackground()
instead.
This function was introduced in Qt 4.2.
2020-06-01 11:53:38 +02:00
Ole Carlsen
faf35c4985 Danish translation updated 2020-06-01 08:29:13 +02:00
Laurent Trinques
6b16f5b46d Add new conductors properties color and section 2020-05-31 22:33:25 +02:00
Simon De Backer
9b570525d3 fix deprecated warning QDrag::start
Use
QDrag::exec
instead.
2020-05-31 11:43:59 +02:00
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