Ejemplo n.º 1
0
    def __init__(self):
        QWidget.__init__(self)

        # loaind ui from xml
        self.ui = uic.loadUi(os.path.join(DIRPATH, 'about_dialog.ui'), self)
        add_image_to_label(self.lblIcon, "./images/robot_icon_small.png")

        # keep the window fixed sized
        self.setFixedSize(self.size())
Ejemplo n.º 2
0
 def mouth_open(self):
     add_image_to_label(self.lbl, "./images/robot/mouth_open.png")
Ejemplo n.º 3
0
 def face_normal(self):
     add_image_to_label(self.lbl, "./images/robot/normal.png")
Ejemplo n.º 4
0
 def look_up(self):
     add_image_to_label(self.lbl, "./images/robot/look_up.png")
Ejemplo n.º 5
0
 def look_down(self):
     add_image_to_label(self.lbl, "./images/robot/look_down.png")
Ejemplo n.º 6
0
 def look_right(self):
     add_image_to_label(self.lbl, "./images/robot/look_right.png")