|
|
|
@ -21,13 +21,9 @@ from PySide.QtGui import QComboBox, QColorDialog
|
|
|
|
|
|
|
|
|
|
from more import LabelWordWrap, FileOpenWgt, show_msg, show_question
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ToolsWidget (QtGui.QWidget):
|
|
|
|
|
def __init__(self, parent, ClientObj, window):
|
|
|
|
|
QtGui.QWidget.__init__(self)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.vlayout = QtGui.QVBoxLayout(self)
|
|
|
|
|
self.vlayout.setAlignment(QtCore.Qt.AlignTop)
|
|
|
|
|
self.vlayout.setAlignment(QtCore.Qt.AlignRight)
|
|
|
|
@ -161,6 +157,8 @@ class ToolGui(QtGui.QWidget):
|
|
|
|
|
|
|
|
|
|
self.grid = QtGui.QGridLayout(self)
|
|
|
|
|
|
|
|
|
|
self.grid.setContentsMargins(2,2,2,2)
|
|
|
|
|
self.grid.setSpacing(0)
|
|
|
|
|
# self.grid.setAlignment(QtCore.Qt.AlignLeft)
|
|
|
|
|
|
|
|
|
|
# background color settings
|
|
|
|
@ -402,6 +400,9 @@ class ToolOther(QtGui.QWidget):
|
|
|
|
|
|
|
|
|
|
self.grid = QtGui.QGridLayout(self)
|
|
|
|
|
|
|
|
|
|
self.grid.setContentsMargins(2,2,2,2)
|
|
|
|
|
self.grid.setSpacing(0)
|
|
|
|
|
|
|
|
|
|
# lang settings
|
|
|
|
|
self.lang_lbl = LabelWordWrap(_('Select Language'), self)
|
|
|
|
|
self.lang_lbl.setMaximumWidth(self.lang_lbl.sizeHint().width())
|
|
|
|
|