281 Commits

Author SHA1 Message Date
Claveau Joshua
419585f97e Add new QAction : export to pdf 2020-10-10 14:37:23 +02:00
Claveau Joshua
6437bf212a Add macro to disable/enable project database export 2020-10-02 20:09:03 +02:00
Claveau Joshua
aa9266ab64 Minor : use Diagram::showMe() method instead of emit several signal to do the same thing 2020-10-02 19:41:17 +02:00
Claveau Joshua
8507040aa2 Improve how element editor is opened to edit an element in a diagram.
Before this commit :
ElementPropertiesWidget emit a signal of Diagram to edit an element, and
the signal goes up from Diagram -> DiagramView -> ProjectView ->
QetDiagramEditor and QetDiagramEditor call a static function.
Now :
ElementPropertiesWidget call the static function itself and that all.
All unnecessary signals are removed.
2020-10-02 19:28:52 +02:00
Claveau Joshua
7038e6f796 Clean diagram view code 2020-10-02 18:38:24 +02:00
Claveau Joshua
18f536d801 Revamp the print preview window 2020-09-29 22:54:09 +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
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
Claveau Joshua
139241e773 Change the way how the database is exported to file
The export of internal database to file is now do by sqlite3 native
function instead of a dirty home made function.
For the moment, the export to file function is unavailable on macOSX (we
need some help to add sqlite3 lib on macOSX)
2020-09-16 21:28:47 +02:00
Simon De Backer
5d92393ee7 Wrap code for better readability 2020-09-07 22:03:40 +02:00
David Varley
babf3d2cf2 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-09-07 22:14:07 +10:00
David Varley
d062175da7 Add tables to dxf export 2020-09-07 16:16:33 +10:00
Simon De Backer
87808df6c3 Moved message to QString 2020-09-05 20:09:08 +02:00
Simon De Backer
88686b3cbf Wrap code for better readability 2020-08-20 17:45:24 +02:00
Simon De Backer
d1c91a7fc2 Fix some doxygen issues 2020-08-20 17:44:59 +02:00
Simon De Backer
41cef49453 Improve code style, Wrap code for better readability 2020-08-16 14:26:40 +02:00
Simon De Backer
d4ee161c07 Mod doc set style de same 2020-08-16 11:19:36 +02:00
Simon De Backer
7ddae811a5 Fix Wdeprecated-declarations QProcess::startDetached
QProcess::startDetached(const QString&)’ is deprecated
Use
QProcess::startDetached(const QString &program,
			const QStringList &arguments)
instead
2020-07-19 18:30:28 +02:00
Laurent Trinques
a718cfa16d Fix indentation code 2020-07-15 19:48:28 +02:00
Laurent Trinques
b866323e90 Minor QETDiagramEditor::setUpMenu reorder action 2020-07-15 15:28:47 +02:00
Claveau Joshua
132f3ad1b4 Remove old summary feature 2020-07-14 20:00:28 +02:00
Simon De Backer
cfb5acc8d5 fix tr() cannot be called without context
add QObject::
qetdiagrameditor.cpp:2341: tr() cannot be called without context
qetdiagrameditor.cpp:2372: tr() cannot be called without context
diagramfoliolist.cpp:175: Class 'DiagramFolioList' lacks Q_OBJECT macro
2020-06-21 11:22:44 +02:00
Claveau Joshua
090da90e22 fix fail to build 2020-06-18 19:20:25 +02:00
Claveau Joshua
ec5f537da4 Add new summary table (WIP) 2020-06-18 18:52:29 +02:00
Laurent Trinques
534ab19616 Revert "MacOS: try to remove hard coded python PATH"
This reverts commit 36071e9cf509eedbac0ddf9977cbe9610ba19e4f.
2020-06-16 17:36:54 +02:00
Laurent Trinques
36071e9cf5 MacOS: try to remove hard coded python PATH 2020-06-16 17:21:44 +02:00
Laurent Trinques
e10ae8ce2e Update Copyright date 2020-06-15 17:42:53 +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
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
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
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
Claveau Joshua
efac27b9b8 Nomenclature : Add dialog when insert a new nomenclature table 2020-05-05 20:38:31 +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
9525278be7 Animate show and replace widget.
this feature is totally useless and by consequent indispensable.
2020-04-23 19:52:56 +02:00
Claveau Joshua
851265844f Fix break from merge of qetgraphicsTableItem to master 2020-04-12 20:10:30 +02:00
Laurent Trinques
234886419d Merge
Q_OS_MACOS need now Python framework Versions 3.8 for launching
qet_tb_generator plugin
2020-04-12 19:04:08 +02:00
Laurent Trinques
73149973e3 Merge remote-tracking branch 'origin/QetGraphicsTableItem' 2020-04-12 18:51:38 +02:00
Claveau Joshua
5c6f556ad3 Minor revamp
Remove unused include.
QETproject : Default titleblock are set in the default constructor
instead of set by qetdiagrameditor.
conductor, border, report and xref propertie are now set in the header
of QETProject instead of set by the qetdiagrameditor just after the
creation of a new project.
2020-04-09 16:58:05 +02:00
Claveau Joshua
017f78fb13 Fix crash when close project
At time of closing project, if a master element(may be every linkable
element) is selected and the editor dock display a lot of available
slave, qet crash.
2020-04-09 16:12:21 +02:00
Laurent Trinques
4774389ee0 Revert :
MACOS remove static path "/Library/Frameworks/Python.framework/Versions/
    *" for launching  qet_tb_generator plugin
2020-04-05 09:45:26 +02:00
Laurent Trinques
f8e0b499f3 MACOS remove static path "/Library/Frameworks/Python.framework/Versions/
*" for launching  qet_tb_generator plugin
2020-04-05 09:32:45 +02:00
Laurent Trinques
ebc55bb440 Q_OS_MACOS need now Python framework Versions 3.8 for launching
qet_tb_generator plugin
2020-04-05 08:58:01 +02:00
Claveau Joshua
f7a090c3ca Add widget to edit QetGraphicsTableItem and QetGraphicsHeaderItem 2020-03-08 10:38:49 +01:00
Claveau Joshua
fd2c210f49 Add QetGraphicsTableItem + entry "add nomenclature" in project menu 2020-02-02 16:33:19 +01:00
joshua
35d6fe5935 CSV export : change menu and dialog text 2019-11-09 14:33:33 +01:00
joshua
ff7eb4d11c Revampe nomenclature
Nomenclature is now totally revamped, user can define information to
export and the order of theme.
2019-11-03 13:27:46 +01:00
joshua
5de220c485 Conductors num can be exported to csv file. 2019-10-04 19:37:46 +02:00