Exemple #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())
Exemple #2
0
 def mouth_open(self):
     add_image_to_label(self.lbl, "./images/robot/mouth_open.png")
Exemple #3
0
 def face_normal(self):
     add_image_to_label(self.lbl, "./images/robot/normal.png")
Exemple #4
0
 def look_up(self):
     add_image_to_label(self.lbl, "./images/robot/look_up.png")
Exemple #5
0
 def look_down(self):
     add_image_to_label(self.lbl, "./images/robot/look_down.png")
Exemple #6
0
 def look_right(self):
     add_image_to_label(self.lbl, "./images/robot/look_right.png")