Commit 8e87ae7d authored by Maxime Perrotin's avatar Maxime Perrotin

Separated editable textboxes from generic symbols

parent 793e1b5b
include *.md
include LICENSE
include FONT-LICENCE.txt
include README
......@@ -29,7 +29,7 @@ flake8:
@flake8 opengeode.py Pr.py sdlSymbols.py genericSymbols.py ogParser.py \
AdaGenerator.py Renderer.py Clipboard.py Lander.py ogAST.py \
undoCommands.py Connectors.py Asn1scc.py Helper.py \
Statechart.py > flake8_report
Statechart.py TextInteraction.py > flake8_report
compile-all:
@pyside-rcc opengeode.qrc -o icons.py
......@@ -45,7 +45,7 @@ install: compile-all
ogAST.py ogParser.py opengeode.py Renderer.py samnmax.py \
sdl92Lexer.py sdl92Parser.py sdlSymbols.py undoCommands.py \
Clipboard.py Statechart.py LlvmGenerator.py Lander.py Helper.py \
Connectors.py Asn1scc.py ; \
Connectors.py Asn1scc.py TextInteraction.py ; \
do echo Installing $$f && cp $$f opengeode ; \
done
@python setup.py install
......
This diff is collapsed.
This diff is collapsed.
......@@ -1028,9 +1028,13 @@ def is_fpar(name, context):
def is_asn1constant(name):
name = name.lower().replace('-', '_')
for varname, vartype in DV.variables.viewitems():
if varname.lower().replace('-', '_') == name:
return True
try:
for varname, vartype in DV.variables.viewitems():
if varname.lower().replace('-', '_') == name:
return True
except AttributeError:
# Ignore - No DV - e.g. in syntax check mode
pass
return False
......
......@@ -52,6 +52,7 @@ import PySide.QtXml # NOQA
import singledispatch # NOQA
import Asn1scc # NOQA
import Connectors # NOQA
import TextInteraction # NOQA
#from PySide import phonon
......@@ -61,11 +62,11 @@ from PySide.QtCore import Qt, QSize, QFile, QIODevice, QRectF, QTimer, QPoint
from PySide.QtUiTools import QUiLoader
from PySide import QtSvg
from genericSymbols import(Symbol, Comment, EditableText, Cornergrabber,
Connection)
from genericSymbols import(Symbol, Comment, Cornergrabber, Connection)
from sdlSymbols import(Input, Output, Decision, DecisionAnswer, Task,
ProcedureCall, TextSymbol, State, Start, Join, Label, Procedure,
ProcedureStart, ProcedureStop, StateStart, Connect, Process)
from TextInteraction import EditableText
# Icons and png files generated from the resource file:
import icons # NOQA
......@@ -1849,7 +1850,8 @@ def init_logging(options):
LlvmGenerator,
Asn1scc,
Connectors,
Pr
Pr,
TextInteraction
)
for module in modules:
module.LOG.addHandler(handler_console)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment