master3.3
parent cf645a91c5
commit 7a8153414b

@ -464,4 +464,4 @@ class MainWgt(QtGui.QMainWindow):
if e.key() == QtCore.Qt.Key_Return: if e.key() == QtCore.Qt.Key_Return:
self.control_button.keyPressEvent(e) self.control_button.keyPressEvent(e)
else: else:
QtGui.QMainWindow.keyPressEvent(self, e) QtGui.QMainWindow.keyPressEvent(self, e)

@ -210,6 +210,7 @@ class DisplayMethod(QtGui.QWidget):
self.ClientObj.MainWidget.left_frame.cur_palette = \ self.ClientObj.MainWidget.left_frame.cur_palette = \
self._parent.main_frame.viewport().palette() self._parent.main_frame.viewport().palette()
self.ClientObj._parent.setWindowTitle(_("Calculate Console"))
def onActivated(self): def onActivated(self):
# Call server method # Call server method

@ -203,7 +203,7 @@ class ButtonMenu(QtGui.QPushButton):
for image in images: for image in images:
icon = QtGui.QIcon.fromTheme(image) icon = QtGui.QIcon.fromTheme(image)
if not icon.isNull(): if not icon.isNull():
pm2 = icon.pixmap(32) pm2 = icon.pixmap(128)
icon_flag = False icon_flag = False
break break
elif os.path.isfile(image): elif os.path.isfile(image):

Loading…
Cancel
Save