Skip to content

Commit

Permalink
fix style issues with autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmoritz committed Dec 15, 2015
1 parent 46a0143 commit d7529db
Show file tree
Hide file tree
Showing 29 changed files with 857 additions and 691 deletions.
2 changes: 2 additions & 0 deletions setup.cfg
@@ -0,0 +1,2 @@
[pep8]
max-line-length = 120
2 changes: 2 additions & 0 deletions src/dialog_about.py
Expand Up @@ -18,7 +18,9 @@
from ui_dialog_about import Ui_AboutDialog
from constants import ZOXEL_VERSION


class AboutDialog(QtGui.QDialog):

def __init__(self, parent=None):
# Initialise the UI
super(AboutDialog, self).__init__(parent)
Expand Down
4 changes: 3 additions & 1 deletion src/dialog_resize.py
Expand Up @@ -17,7 +17,9 @@
from PySide import QtGui
from ui_dialog_resize import Ui_ResizeDialog


class ResizeDialog(QtGui.QDialog):

def __init__(self, parent=None):
# Initialise the UI
super(ResizeDialog, self).__init__(parent)
Expand All @@ -26,7 +28,7 @@ def __init__(self, parent=None):
self.ui.button_auto.clicked.connect(self.on_button_auto_clicked)

def on_button_auto_clicked(self):
_,_,_,x,y,z = self.parent().display.voxels.get_bounding_box()
_, _, _, x, y, z = self.parent().display.voxels.get_bounding_box()
self.ui.width.setValue(x)
self.ui.height.setValue(y)
self.ui.depth.setValue(z)

0 comments on commit d7529db

Please sign in to comment.