Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
asn1-value-editor
Commits
042d416c
Commit
042d416c
authored
Nov 16, 2014
by
Maxime Perrotin
Browse files
Fix minor issues with gui
parent
7b7274e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
gui.py
View file @
042d416c
...
...
@@ -64,7 +64,7 @@ from PySide.QtGui import(QApplication, QStatusBar, QLabel, QWidget,
from
PySide.QtUiTools
import
QUiLoader
g_tmPool
=
{}
False
class
MsgQ_Poller
(
QThread
):
'''
...
...
@@ -196,12 +196,13 @@ def gui():
elif
options
.
shared_lib
:
# Load and run the startup transition of the shared library (Ada only?)
try
:
dll
=
CDLL
(
'
./
{}.so'
.
format
(
datamodel
.
FVname
))
dll
=
CDLL
(
'
lib
{}.so'
.
format
(
datamodel
.
FVname
))
dll_init
=
getattr
(
dll
,
'lib{}init'
.
format
(
datamodel
.
FVname
))
dll_init
()
except
OSError
:
log
.
error
(
'
S
hared library
./
{}.so
not found
'
except
OSError
as
err
:
log
.
error
(
'
Issue with s
hared library
lib
{}.so
:
'
.
format
(
datamodel
.
FVname
))
log
.
error
(
str
(
err
))
return
-
1
# Define a Qt application (mandatory)
...
...
resources.py
View file @
042d416c
...
...
@@ -2,7 +2,7 @@
# Resource object code
#
# Created: Sun Nov 16 1
2
:02:
01
2014
# Created: Sun Nov 16 1
4
:02:
35
2014
# by: The Resource Compiler for PySide (Qt v4.8.6)
#
# WARNING! All changes made in this file will be lost!
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment