Skip to content

Commit

Permalink
[iss-269][iss-274][iss-270]
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit d203f0f
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 13:21:16 2025 -0300

    Added qtermwidget libs.

commit 4871b7b
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 11:41:23 2025 -0300

    Update version in gui main file.

commit 2e0ac35
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 11:35:30 2025 -0300

    update life handlers method debug level.

commit 5090a0c
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 11:35:10 2025 -0300

    Updated gitignore.

commit c763d60
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 11:28:45 2025 -0300

    Added new ui widgets.

commit 8ecdb22
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 11:28:25 2025 -0300

    Update build script.

commit 93793e0
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 10:52:16 2025 -0300

    Fix misc sonarcube warnings.

commit b51565a
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 10:51:25 2025 -0300

    Updated debug config file.

commit 83f0f34
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 10:51:00 2025 -0300

    Added python console and linux bash widgets.

commit 847e7db
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 10:50:34 2025 -0300

    Setup app settings file.

commit ca77e78
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 10:48:35 2025 -0300

    Updated gui pro file.

commit 60a88f4
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 10:33:36 2025 -0300

    Updated gitignore.

commit 71e37e4
Author: joaquin.f.fernandez <[email protected]>
Date:   Fri Jan 3 10:32:40 2025 -0300

    Added qtermwidget for Ubuntu 20.
  • Loading branch information
joaquinffernandez committed Jan 3, 2025
1 parent ea2d9c7 commit 23c7f58
Show file tree
Hide file tree
Showing 136 changed files with 9,502 additions and 16 deletions.
4 changes: 4 additions & 0 deletions deploy/linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ chmod 0755 tmp_deb/DEBIAN/post*
mkdir ./tmp_deb/opt
mkdir ./tmp_deb/opt/qss-solver
mkdir ./tmp_deb/opt/qss-solver/bin
mkdir ./tmp_deb/opt/qss-solver/bin/lib
mkdir ./tmp_deb/opt/qss-solver/src
mkdir ./tmp_deb/opt/qss-solver/build
mkdir ./tmp_deb/opt/qss-solver/output
Expand All @@ -90,7 +91,10 @@ cp src/interfaces/sbml/usr/bin/translate-sbml ./tmp_deb/opt/qss-solver/bin/
cp src/engine/3rd-party/partitioners/hmetis/khmetis ./tmp_deb/opt/qss-solver/bin/
cp deploy/linux/qss-solver.ini ./tmp_deb/opt/qss-solver/bin/qss-solver.ini
cp deploy/images/integrator.svg ./tmp_deb/opt/qss-solver/bin/
cp -r src/gui/3rd-party/qtermwidget-1-0.14.1/usr/config/* ./tmp_deb/opt/qss-solver/bin/
cp -r src/gui/3rd-party/qtermwidget-1-0.14.1/usr/lib/* ./tmp_deb/opt/qss-solver/bin/lib/
chmod 0755 `find tmp_deb/opt/qss-solver/bin`

cp LICENSE ./tmp_deb/opt/qss-solver/
cp INSTALL ./tmp_deb/opt/qss-solver/
cp README.md ./tmp_deb/opt/qss-solver/
Expand Down
3 changes: 3 additions & 0 deletions deploy/linux/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ sed -i "s/PROJECT_NUMBER =.*/PROJECT_NUMBER = $VER/" ../../src/mmoc/MMOCompiler.

# Update mmoc version info file.
sed -i "s/MicroModelica C Compiler.*/MicroModelica C Compiler $VER\" << endl;/" ../../src/mmoc/main.cpp

# Update GUI version info file.
sed -i "s/QCoreApplication::setApplicationVersion.*/QCoreApplication::setApplicationVersion(\"$VER\");/" ../../src/gui/main.cpp
4 changes: 3 additions & 1 deletion src/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# 3rd-party libraries.

/3rd-party/gtest/usr/

# Python generated files.
*.pyc
20 changes: 19 additions & 1 deletion src/engine/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,25 @@
"ignoreFailures": true
}
]
}
},

// Airconds Parallel model
{
"name": "Airconds Parallel model",
"type": "cppdbg",
"request": "launch",
"program": "/home/joaquin/work/qss-solver/build/airconds/airconds",
"cwd": "/home/joaquin/work/qss-solver/build/airconds/",
"environment": [],
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}

]
}
3 changes: 3 additions & 0 deletions src/gui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ tags

# Tests generated files.
/tests/usr/

# 3rd Party libs.
/3rd-party/
Binary file added src/gui/3rd-party/qtermwidget-1-0.14.1.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions src/gui/3rd-party/qtermwidget-1-0.14.1/.translation-update
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
translations='./lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# example scheme for konsole

# the title is to appear in the menu.

title Black on Light Yellow

# foreground colors

# note that the default background color is flagged
# to become transparent when an image is present.

# slot transparent bold
# | | |
# V V--color--V V V

color 0 0 0 0 0 0 # regular foreground color (Black)
color 1 255 255 221 1 0 # regular background color (Light Yellow)

color 2 0 0 0 0 0 # regular color 0 Black
color 3 178 24 24 0 0 # regular color 1 Red
color 4 24 178 24 0 0 # regular color 2 Green
color 5 178 104 24 0 0 # regular color 3 Yellow
color 6 24 24 178 0 0 # regular color 4 Blue
color 7 178 24 178 0 0 # regular color 5 Magenta
color 8 24 178 178 0 0 # regular color 6 Cyan
color 9 178 178 178 0 0 # regular color 7 White

# intensive colors

# instead of changing the colors, we've flaged the text to become bold

color 10 0 0 0 0 1 # intensive foreground color
color 11 255 255 221 1 0 # intensive background color

color 12 104 104 104 0 0 # intensive color 0
color 13 255 84 84 0 0 # intensive color 1
color 14 84 255 84 0 0 # intensive color 2
color 15 255 255 84 0 0 # intensive color 3
color 16 84 84 255 0 0 # intensive color 4
color 17 255 84 255 0 0 # intensive color 5
color 18 84 255 255 0 0 # intensive color 6
color 19 255 255 255 0 0 # intensive color 7
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
[Background]
Bold=false
Color=247,247,214
Transparency=true
MaxRandomHue=340

[BackgroundIntense]
Bold=false
Color=255,255,221
Transparency=true

[Color0]
Bold=false
Color=0,0,0
Transparency=false

[Color0Intense]
Bold=false
Color=104,104,104
Transparency=false

[Color1]
Bold=false
Color=178,24,24
Transparency=false

[Color1Intense]
Bold=false
Color=255,84,84
Transparency=false

[Color2]
Bold=false
Color=24,178,24
Transparency=false

[Color2Intense]
Bold=false
Color=84,255,84
Transparency=false

[Color3]
Bold=false
Color=178,104,24
Transparency=false

[Color3Intense]
Bold=false
Color=255,255,84
Transparency=false

[Color4]
Bold=false
Color=24,24,178
Transparency=false

[Color4Intense]
Bold=false
Color=84,84,255
Transparency=false

[Color5]
Bold=false
Color=178,24,178
Transparency=false

[Color5Intense]
Bold=false
Color=255,84,255
Transparency=false

[Color6]
Bold=false
Color=24,178,178
Transparency=false

[Color6Intense]
Bold=false
Color=84,255,255
Transparency=false

[Color7]
Bold=false
Color=178,178,178
Transparency=false

[Color7Intense]
Bold=false
Color=255,255,255
Transparency=false

[Foreground]
Bold=false
Color=0,0,0
Transparency=false

[ForegroundIntense]
Bold=true
Color=0,0,0
Transparency=false

[General]
Description=Black on Random Light
Opacity=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# example scheme for konsole

# the title is to appear in the menu.

title Black on White

# foreground colors

# note that the default background color is flagged
# to become transparent when an image is present.

# slot transparent bold
# | | |
# V V--color--V V V

color 0 0 0 0 0 0 # regular foreground color (Black)
color 1 255 255 255 1 0 # regular background color (White)

color 2 0 0 0 0 0 # regular color 0 Black
color 3 178 24 24 0 0 # regular color 1 Red
color 4 24 178 24 0 0 # regular color 2 Green
color 5 178 104 24 0 0 # regular color 3 Yellow
color 6 24 24 178 0 0 # regular color 4 Blue
color 7 178 24 178 0 0 # regular color 5 Magenta
color 8 24 178 178 0 0 # regular color 6 Cyan
color 9 178 178 178 0 0 # regular color 7 White

# intensive colors

# instead of changing the colors, we've flaged the text to become bold

color 10 0 0 0 0 1 # intensive foreground color
color 11 255 255 255 1 0 # intensive background color

color 12 104 104 104 0 0 # intensive color 0
color 13 255 84 84 0 0 # intensive color 1
color 14 84 255 84 0 0 # intensive color 2
color 15 255 255 84 0 0 # intensive color 3
color 16 84 84 255 0 0 # intensive color 4
color 17 255 84 255 0 0 # intensive color 5
color 18 84 255 255 0 0 # intensive color 6
color 19 255 255 255 0 0 # intensive color 7
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
[Background]
Color=49,54,59

[BackgroundFaint]
Color=49,54,59

[BackgroundIntense]
Color=35,38,41

[Color0]
Color=7,54,66

[Color0Faint]
Color=32,43,54

[Color0Intense]
Color=255,85,0

[Color1]
Color=237,21,21

[Color1Faint]
Color=120,50,40

[Color1Intense]
Color=192,57,43

[Color2]
Color=17,209,22

[Color2Faint]
Color=23,162,98

[Color2Intense]
Color=28,220,154

[Color3]
Color=246,116,0

[Color3Faint]
Color=182,86,25

[Color3Intense]
Color=253,188,75

[Color4]
Color=29,153,243

[Color4Faint]
Color=27,102,143

[Color4Intense]
Color=61,174,233

[Color5]
Color=155,89,182

[Color5Faint]
Color=97,74,115

[Color5Intense]
Color=142,68,173

[Color6]
Color=26,188,156

[Color6Faint]
Color=24,108,96

[Color6Intense]
Color=22,160,133

[Color7]
Color=239,240,241

[Color7Faint]
Color=99,104,109

[Color7Intense]
Color=252,252,252

[Foreground]
Color=239,240,241

[ForegroundFaint]
Color=220,230,231

[ForegroundIntense]
Color=252,252,252

[General]
Description=BreezeModified
Opacity=0.95
Wallpaper=

Loading

0 comments on commit 23c7f58

Please sign in to comment.