Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plugin implementation and reading of the variables
Implementation of the plugin Mapping based on SampleView. The plugin can read and display in a list the variables of the open file. Sometime crashes when opening a file.
- Loading branch information
1 parent
9a60a3b
commit cb9fd78
Showing
11 changed files
with
1,060 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
project(MappingViewPlugin) | ||
|
||
# Add the plugin | ||
|
||
add_plugin(MappingView | ||
SOURCES | ||
../../filehandlinginterface.cpp | ||
../../i18ninterface.cpp | ||
../../plugininfo.cpp | ||
../../plugininterface.cpp | ||
../../viewinterface.cpp | ||
|
||
src/mappingviewplugin.cpp | ||
src/mappingviewwidget.cpp | ||
UIS | ||
src/mappingviewwidget.ui | ||
PLUGINS | ||
Core | ||
CellMLSupport | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE TS> | ||
<TS version="2.1" language="fr_FR" sourcelanguage="en_GB"> | ||
<context> | ||
<name>MappingViewWidget</name> | ||
<message> | ||
<source>File name:</source> | ||
<translation>Nom de fichier :</translation> | ||
</message> | ||
<message> | ||
<source>Locked:</source> | ||
<translation>Verrouillé :</translation> | ||
</message> | ||
<message> | ||
<source>SHA-1:</source> | ||
<translation>SHA-1 :</translation> | ||
</message> | ||
<message> | ||
<source>Size:</source> | ||
<translation>Taille :</translation> | ||
</message> | ||
<message> | ||
<source>Variables:</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>OpenCOR::MappingView::MappingViewPlugin</name> | ||
<message> | ||
<source>Mapping</source> | ||
<translation>Mappeur</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>OpenCOR::MappingView::MappingViewWidget</name> | ||
<message> | ||
<source>Yes</source> | ||
<translation>Oui</translation> | ||
</message> | ||
<message> | ||
<source>No</source> | ||
<translation>Non</translation> | ||
</message> | ||
<message> | ||
<source>VICTOOOOIIIIIRE</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
</TS> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<RCC> | ||
<qresource prefix="/"> | ||
<file alias="${PLUGIN_NAME}_fr">${PROJECT_BUILD_DIR}/${PLUGIN_NAME}_fr.qm</file> | ||
</qresource> | ||
</RCC> |
Oops, something went wrong.