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
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
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
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
Claveau Joshua
75e6f28221
Reduce the time spend when nomenclature table is created automatically
2020-05-26 22:00:32 +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
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
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
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
cc9124cdfb
Prepare to add new country Norwegian switch
2020-05-14 16:01:40 +02:00
Claveau Joshua
0015f4a694
Qet graphics table item can be removed from diagram
2020-05-12 11:17:25 +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
Laurent Trinques
f3138960b1
Fix : key sequence 'space' don't work with nl be local
2020-05-06 21:11:11 +02:00
Claveau Joshua
66a3c269ca
Fix : key sequence 'space' don't work with nl be local
2020-05-06 19:14:42 +02:00
Laurent Trinques
b481073993
Fix typo
2020-05-06 08:41:18 +02:00
Claveau Joshua
efac27b9b8
Nomenclature : Add dialog when insert a new nomenclature table
2020-05-05 20:38:31 +02:00
Claveau Joshua
3905371da6
Fix wrong element text value when loading from xml
2020-05-03 20:29:55 +02:00
Claveau Joshua
0aae330bef
Minor : improve layout for low resolution screen
2020-05-01 18:33:11 +02:00
Claveau Joshua
f20df15ccf
Nomenclature query can be saved/load
2020-05-01 18:07:15 +02:00
gleissonjoaquim3
2c8c624e56
Update on PT_BR translation members
2020-04-30 12:17:11 +02:00
Claveau Joshua
9bb58fedea
Element query widget : widget restor is state according to the current query
2020-04-29 11:48:45 +02:00
Laurent Trinques
418e45552d
macOS : add more explanation in Message Box about install plugin
2020-04-28 17:47:52 +02:00
Claveau Joshua
a8a9ddc3d6
Add view 'element_nomenclature_view' to projectDataBase
...
Add a view for the nomenclature to reduce the size of the query and make
it more understandable
2020-04-25 15:52:06 +02:00