Laurent Trinques
9c267d673d
Fix %{saveddate} titleblock variable and
...
add new %{saveddate-eu} variable dd-MM-yyyy date format
2020-10-19 14:09:26 +02:00
Simon De Backer
30b8205f82
Mod some qWarning add QObject::tr
2020-09-24 22:39:11 +02:00
Simon De Backer
36dbe65457
Add TODO compile var + Fix doxygen issue
...
You can make your code warn on compile time for the TODO's
In order to do so, uncomment the following line. in pro file
DEFINES += TODO_LIST
2020-09-24 17:01:33 +02:00
Simon De Backer
b5ae1237e3
Fix QRegularExpression
...
-add isValid
-add debug
2020-09-23 21:36:48 +02:00
Simon De Backer
c958d54d01
Fix Qt 6 deprecated QDockWidget::AllDockWidgetFeatures
...
(Deprecated) The dock widget can be closed, moved, and floated.
Since new features might be added in future releases,
the look and behavior of dock widgets might change if you use this flag.
Please specify individual flags instead.
2020-09-21 21:16:05 +02:00
Simon De Backer
176dcd376b
Fix deprecated QRegExp
...
Use QRegularExpression instead.
https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users
This function was introduced in Qt 5
2020-09-19 01:13:09 +02:00
Simon De Backer
813014ec33
Fix deprecated QRegExp
...
Use QRegularExpression instead.
https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users
This function was introduced in Qt 5
2020-09-19 01:13:01 +02:00
Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Simon De Backer
d1c91a7fc2
Fix some doxygen issues
2020-08-20 17:44:59 +02:00
Simon De Backer
cdb2e7b523
Wrap code for better readability
2020-08-19 21:27:14 +02:00
Simon De Backer
666f20856e
Fix some doxygen issues
2020-08-19 21:26:36 +02:00
Simon De Backer
3b3ce2cb7c
Improve code style, Wrap code for better readability
2020-08-16 14:24:12 +02:00
Simon De Backer
d4ee161c07
Mod doc set style de same
2020-08-16 11:19:36 +02:00
Simon De Backer
90417ae509
Fix Copyright indentation
2020-08-16 09:40:14 +02:00
Simon De Backer
ca2e737df3
fix deprecated warning int QWheelEvent::delta() const
...
Use angleDelta() instead
and .y();
2020-06-21 10:50:26 +02:00
Laurent Trinques
e10ae8ce2e
Update Copyright date
2020-06-15 17:42:53 +02:00
Laurent Trinques
a8c2283cbe
hot fix zoom and scrolling
...
bug: was only zoom In
(int QPoint::manhattanLength() const
Returns the sum of the absolute values)
2020-06-14 14:29:59 +02:00
Simon De Backer
e4f4c1e154
fix deprecated warning void QGraphicsView::resetMatrix()
...
Use resetTransform() instead
This class was introduced in Qt 4.2.
+ indentation warning
of "resetSceneRect();"
2020-06-12 19:54:13 +02:00
Simon De Backer
71abaf92cb
fix deprecated warning int QWheelEvent::delta() const
...
Use angleDelta() instead
manhattanLength()
Returns the sum of the absolute values of x() and y(),
traditionally known as the "Manhattan length" of the vector
from the origin to the point.
This class was introduced in Qt 5.5
2020-06-12 19:52:50 +02:00
Simon De Backer
b9ed45c8a3
fix deprecated warning QMap
...
This function is obsolete.
Use QMultiMap instead.
This function was introduced in Qt 4.3 - 5.14
2020-06-12 05:52:50 +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
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
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
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
Laurent Trinques
a0a7513847
Replance Q_OS_MAC Deprecated by Q_OS_MACOS
2019-09-08 18:29:29 +02:00
scorpio810
3ed7a4e63b
Minor : update Copyright date
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-13 16:56:12 +00:00
blacksun
04e890ab7d
NameList widget : add a combo box for easily paste texts, like the variables for title block.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5687 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 16:56:46 +00:00
scorpio810
e071717d30
Title block : list of texts variables can be selected with the mouse and
...
copied to the clipboard using a context menu or standard keyboard
shortcuts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5666 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 08:45:17 +00:00
blacksun
2274382219
Title block : add two news variables, previous-folio-num and next-folio-num
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5664 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-28 18:39:54 +00:00
scorpio810
2fe25e74fa
Minor : indentation
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5630 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 22:33:11 +00:00
nuri
f27954e507
Correction of some french and english notions and correction of typos. Variable %machine changed in %plant.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5629 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 19:07:14 +00:00
scorpio810
58fb59491b
Revert last commits
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5624 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-01 12:55:05 +00:00
scorpio810
ee91337d75
Add new fild and titleblock "Function group"
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5622 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-30 23:53:13 +00:00
scorpio810
92a4d0f88e
Add '%savedfilename' and '%savedfilepath' title block variables
...
They should be updated after file save or save as dialog is confirmed,
before file is saved.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5471 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 17:20:50 +00:00
scorpio810
54981b425e
title block editor : add '%saveddate' and '%savedtime' as available
...
values, for moment only when user "save as" project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5467 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 15:32:19 +00:00
scorpio810
ff7b2226e1
title block editor : show 'projectfilename' as available value
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5464 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-05 16:27:14 +00:00
scorpio810
bf974f1956
Fix bug 164 :
...
title block editor : show 'projectpath' as available value
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5463 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-05 15:04:15 +00:00
scorpio810
30bee81432
Revert r5449 and disable r5452 momentary : Load time from elements is
...
very slow
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-30 15:24:29 +00:00
scorpio810
b97b01d63c
Apply clang-tidy's modernize-use-auto
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 16:27:20 +00:00
scorpio810
e4b1ba9797
Apply clang-tidy's performance-unnecessary-value-param, performance-for-
...
range-copy
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 14:14:31 +00:00
blacksun
114c3cdcc3
title block editor : show 'projecttitle' as available value
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5418 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-29 20:36:21 +00:00
blacksun
fa547a34c8
Fix compilation warning (clang and gcc)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5301 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 18:49:28 +00:00
scorpio810
bfa706ca29
Fix some Debian lintian spelling errors
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5262 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 13:38:41 +00:00
scorpio810
31f36b8625
Modernize-use-override refactors code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5009 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:10:01 +00:00
scorpio810
9f9b127c04
Modernize-use-nullptr refactors code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:06:59 +00:00
scorpio810
41659fa6fd
Revert r4900
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-05 16:18:50 +00:00
scorpio810
6422dd096f
Replace foreach function by for, please try and report problem
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-04 21:43:23 +00:00
scorpio810
54c85db29c
Minor update Copyright year
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-20 10:55:49 +00:00
scorpio810
928c2938e1
Titleblock properties rename properties %loc to %locmach
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4626 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-12 11:32:56 +00:00