File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ message( STATUS "Version: ${PROJECT_VERSION}" )
1919
2020set ( QRFL_BUGREPORT "https://github.com/thomaslepoix/Qucs-RFlayout/issues" )
2121set ( QRFL_FUNDING "https://liberapay.com/thomaslepoix" )
22+ set ( QRFL_OEMS_TUTORIAL "https://github.com/thomaslepoix/Qucs-RFlayout/blob/master/doc/tutorials/openems.md" )
2223file ( READ "${CMAKE_SOURCE_DIR } /CHANGELOG" QRFL_CHANGELOG )
2324
2425set ( CMAKE_MODULE_PATH
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ if( WIN32 )
77else ()
88 set ( QRFL_INSTALL_DIR "${CMAKE_INSTALL_PREFIX } " )
99endif ( WIN32 )
10- set ( QRFL_OEMS_TUTORIAL "https://github.com/thomaslepoix/Qucs-RFlayout/blob/master/doc/tutorials/openems.md" )
1110
1211configure_file (
1312 "${CMAKE_SOURCE_DIR } /doc/qucsrflayout.1.in"
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ target_compile_definitions( ${PROJECT_NAME}
4747 QRFL_VERSION= "${PROJECT_VERSION } "
4848 QRFL_HOMEPAGE= "${PROJECT_HOMEPAGE_URL } "
4949 QRFL_FUNDING= "${QRFL_FUNDING} "
50+ QRFL_OEMS_TUTORIAL= "${QRFL_OEMS_TUTORIAL} "
5051 QRFL_BUGREPORT= "${QRFL_BUGREPORT} "
5152 $<$<BOOL :${QRFL_MINIMAL} >:QRFL_MINIMAL >
5253 )
Original file line number Diff line number Diff line change @@ -247,6 +247,11 @@ void MainWindow::on_a_topology_mstep_triggered() { open_doc_file("topology_mstep
247247void MainWindow::on_a_topology_mtee_triggered () { open_doc_file (" topology_mtee" ); }
248248void MainWindow::on_a_topology_mvia_triggered () { open_doc_file (" topology_mvia" ); }
249249
250+ // ******************************************************************************
251+ void MainWindow::on_a_tutorial_oems_triggered () {
252+ QDesktopServices::openUrl (QUrl (QRFL_OEMS_TUTORIAL ));
253+ }
254+
250255// ******************************************************************************
251256void MainWindow::on_ag_themes_triggered (QAction* const action) {
252257 ui->glw_preview ->setTheme (action->text ().toStdString ());
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ private slots:
7474 void on_a_topology_mstep_triggered ();
7575 void on_a_topology_mtee_triggered ();
7676 void on_a_topology_mvia_triggered ();
77+ void on_a_tutorial_oems_triggered ();
7778 void on_ag_themes_triggered (QAction* const action);
7879 void on_cb_format_currentTextChanged (QString const & out_format);
7980 void on_cb_specify_netlist_stateChanged (int const state);
Original file line number Diff line number Diff line change @@ -741,6 +741,11 @@ Should be a component label</string>
741741 <normaloff >:/mvia.png</normaloff >:/mvia.png</iconset >
742742 </property >
743743 </action >
744+ <action name =" a_tutorial_oems" >
745+ <property name =" text" >
746+ <string >OpenEMS exporter</string >
747+ </property >
748+ </action >
744749 </widget >
745750 <layoutdefault spacing =" 6" margin =" 11" />
746751 <customwidgets >
You can’t perform that action at this time.
0 commit comments