style fixing

This commit is contained in:
Dmitriy Marmyshev 2013-01-16 03:59:04 +04:00
parent 024ba1aac9
commit ef947355c5

View File

@ -205,7 +205,7 @@ class SlideController(DisplayController):
self.hideMenu.menu().addAction(self.blankScreen) self.hideMenu.menu().addAction(self.blankScreen)
self.hideMenu.menu().addAction(self.themeScreen) self.hideMenu.menu().addAction(self.themeScreen)
self.hideMenu.menu().addAction(self.desktopScreen) self.hideMenu.menu().addAction(self.desktopScreen)
#Wide menu of display control buttons # Wide menu of display control buttons.
self.wideMenu1 = QtGui.QToolButton(self.toolbar) self.wideMenu1 = QtGui.QToolButton(self.toolbar)
self.wideMenu1.setObjectName(u'wideMenu1') self.wideMenu1.setObjectName(u'wideMenu1')
self.toolbar.addToolbarWidget(self.wideMenu1) self.toolbar.addToolbarWidget(self.wideMenu1)
@ -590,7 +590,7 @@ class SlideController(DisplayController):
width = self.parent().controlSplitter.sizes()[self.split] width = self.parent().controlSplitter.sizes()[self.split]
for framenumber in range(len(self.serviceItem.get_frames())): for framenumber in range(len(self.serviceItem.get_frames())):
self.previewListWidget.setRowHeight(framenumber, width / self.ratio) self.previewListWidget.setRowHeight(framenumber, width / self.ratio)
self.onControllerSizeChanged(self.controller.width() , self.controller.height()) self.onControllerSizeChanged(self.controller.width(), self.controller.height())
def onControllerSizeChanged(self, width, height): def onControllerSizeChanged(self, width, height):
""" """