editors/Viewer.py
changeset 1853 47a3f39bead0
parent 1852 70c1cc354a8f
child 1878 fb73a6b6622d
equal deleted inserted replaced
1852:70c1cc354a8f 1853:47a3f39bead0
    20 #
    20 #
    21 # You should have received a copy of the GNU General Public License
    21 # You should have received a copy of the GNU General Public License
    22 # along with this program; if not, write to the Free Software
    22 # along with this program; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 
    24 
       
    25 
       
    26 from __future__ import absolute_import
    25 import math
    27 import math
    26 from time import time as gettime
    28 from time import time as gettime
    27 from types import TupleType
    29 from types import TupleType
    28 from threading import Lock
    30 from threading import Lock
    29 
    31 
    33 from PLCControler import ITEM_VAR_LOCAL, ITEM_POU, ITEM_PROGRAM, ITEM_FUNCTIONBLOCK
    35 from PLCControler import ITEM_VAR_LOCAL, ITEM_POU, ITEM_PROGRAM, ITEM_FUNCTIONBLOCK
    34 from graphics.DebugDataConsumer import DebugDataConsumer
    36 from graphics.DebugDataConsumer import DebugDataConsumer
    35 from graphics import *
    37 from graphics import *
    36 from dialogs import *
    38 from dialogs import *
    37 from editors.DebugViewer import DebugViewer, REFRESH_PERIOD
    39 from editors.DebugViewer import DebugViewer, REFRESH_PERIOD
    38 from EditorPanel import EditorPanel
    40 from editors.EditorPanel import EditorPanel
    39 
    41 
    40 SCROLLBAR_UNIT = 10
    42 SCROLLBAR_UNIT = 10
    41 WINDOW_BORDER = 10
    43 WINDOW_BORDER = 10
    42 SCROLL_ZONE = 10
    44 SCROLL_ZONE = 10
    43 
    45