On Thursday 24 November 2011, 12:19:09 Victor Varvariuc wrote:
> #!/usr/bin/env python3
>
> from PyQt4 import QtGui, QtCore, uic
>
> class Form(QtGui.QDialog):
>
> def __init__(self, parentWidget):
> super().__init__(parentWidget)
> self.setupUi()
>
> def setupUi(self):
>
On Thursday, November 24, 2011 09:49:51 AM Tom Bennett wrote:
> Hi Tayfun,
>
> On Thu, Nov 24, 2011 at 2:26 AM, Tayfun Kayhan
wrote:
> > Let *self.win* be your widget, then *self.win.sizeHint()* returns the
> > ideal or recommended size of your widget.
> > *self.win.minimumSizeHint()* returns the
Hi Tayfun,
On Thu, Nov 24, 2011 at 2:26 AM, Tayfun Kayhan wrote:
> Let *self.win* be your widget, then *self.win.sizeHint()* returns the
> ideal or recommended size of your widget.
> *self.win.minimumSizeHint()* returns the minimum recommended size. you
> can set these to resize your widget.
>
>
#!/usr/bin/env python3
from PyQt4 import QtGui, QtCore, uic
class Form(QtGui.QDialog):
def __init__(self, parentWidget):
super().__init__(parentWidget)
self.setupUi()
def setupUi(self):
uic.loadUi('test.ui', self)
def тест(self):
'''This method has n
Let self.win be your widget, then self.win.sizeHint() returns the ideal or
recommended size of your widget.
self.win.minimumSizeHint() returns the minimum recommended size. you can set
these to resize your widget.
From: Tom Bennett
To: pyqt@riverbankcomputing