import sys, time, traceback, os, math, random, threading, time import Ice from PyQt4 import QtCore, QtGui, Qt from ui_formManager import Ui_Form import rcmanagerConfig global_ic = Ice.initialize(sys.argv) # Ctrl+c handling import signal signal.signal(signal.SIGINT, signal.SIG_DFL) dict = rcmanagerConfig.getDefaultValues() initDir = os.getcwd() sys.path.append('.') sys.path.append('/opt/robocomp/bin') import rcmanagerEditor # CommandDialog class: It's the dialog sending "up()/down() component X signal to the main class CommandDialog(QtGui.QWidget): def __init__(self, parent, x, y): QtGui.QWidget.__init__(self) self.setParent(parent) self.setGeometry(x, y, 100, 75) self.button1 = QtGui.QPushButton(self)