@

Home 

python Programming Glossary: qwidget

Howto embed a video via mpylayer into a QWidget frame?

http://stackoverflow.com/questions/11051534/howto-embed-a-video-via-mpylayer-into-a-qwidget-frame

embed a video via mpylayer into a QWidget frame Is it possible in PyQt4 to embed a video via mpylayer.. it possible in PyQt4 to embed a video via mpylayer into a QWidget or into a subclass of it . If so could you provide a minimal.. mpylayer from PyQt4 import QtGui QtCore class Window QtGui.QWidget def __init__ self QtGui.QWidget.__init__ self self.container..

PySide Qt: Auto vertical growth for TextEdit Widget, and spacing between widgets in a vertical layout

http://stackoverflow.com/questions/11677499/pyside-qt-auto-vertical-growth-for-textedit-widget-and-spacing-between-widgets

that populates the widgets is as follows self._body_frame QWidget self._body_frame.setMinimumWidth 750 self._body_layout QVBoxLayout.. a frame. A simple layout example illustrates this w QtGui.QWidget w.resize 600 400 layout QtGui.QVBoxLayout w layout.setMargin.. self.mainLayout.addWidget self.scroll scrollContents QtGui.QWidget self.scroll.setWidget scrollContents self.textLayout QtGui.QVBoxLayout..

A QWidget like QTextEdit that wraps its height automatically to its contents?

http://stackoverflow.com/questions/11851020/a-qwidget-like-qtextedit-that-wraps-its-height-automatically-to-its-contents

QWidget like QTextEdit that wraps its height automatically to its contents.. self.mainLayout.addWidget self.scroll scrollContents QtGui.QWidget self.scroll.setWidget scrollContents self.textLayout QtGui.QVBoxLayout..

PyQt Webkit and html forms: Fetching output and closing window

http://stackoverflow.com/questions/12240195/pyqt-webkit-and-html-forms-fetching-output-and-closing-window

.acceptNavigationRequest frame req nav_type class Window QWidget def __init__ self html super Window self .__init__ self.setWindowFlags.. .acceptNavigationRequest frame req nav_type class Window QWidget def __init__ self html super Window self .__init__ self.setWindowFlags..

QtSingleApplication for PySide or PyQt

http://stackoverflow.com/questions/12712360/qtsingleapplication-for-pyside-or-pyqt

appGuid sys.argv if app.isRunning sys.exit 0 w QWidget w.show app.setActivationWindow w sys.exit app.exec_ share..

Prompt on exit in PyQt application

http://stackoverflow.com/questions/1414781/prompt-on-exit-in-pyqt-application

You need to override the default close behaviour of the QWidget representing your application so that it doesn't immediately..

time.sleep() required to keep QThread responsive?

http://stackoverflow.com/questions/14665636/time-sleep-required-to-keep-qthread-responsive

def create_main_frame self self.main_frame QWidget self.dpi 100 self.width 10 self.height 8 self.fig Figure figsize.. def create_main_frame self self.main_frame QtGui.QWidget self.dpi 100 self.width 10 self.height 8 self.fig Figure figsize..

PyQt: Always on top

http://stackoverflow.com/questions/1925015/pyqt-always-on-top

in GTK i use the property Modal. Now in PyQt I am using a QWidget but I can't find a way to do that. Any ideas python pyqt ..

QObject (QPlainTextEdit) & Multithreading issues

http://stackoverflow.com/questions/2104779/qobject-qplaintextedit-multithreading-issues

page Although QObject is reentrant the GUI classes notably QWidget and all its subclasses are not reentrant. They can only be used..

QtDesigner & PySide: QTableWidget don't get accessible

http://stackoverflow.com/questions/7250727/qtdesigner-pyside-qtablewidget-dont-get-accessible

in a QTabWidget I can't access it. EDIT2 widget.findChild QWidget buffer_table Search find is the trick python qt designer pyside.. try to see if the table is there with widget.findChild QWidget buffer_table even from the parent since it is a recursive search..

Displayin an Image in a QGraphicsScene

http://stackoverflow.com/questions/8766584/displayin-an-image-in-a-qgraphicsscene

ImageQt import ImageEnhance import time class TestWidget QWidget def __init__ self parent None QWidget.__init__ self parent self.scene.. class TestWidget QWidget def __init__ self parent None QWidget.__init__ self parent self.scene QGraphicsScene self.view QGraphicsView..

PyQt: Show menu in a system tray application

http://stackoverflow.com/questions/893984/pyqt-show-menu-in-a-system-tray-application

gets the same parent as the QSystemTrayIcon which is an QWidget import sys from PyQt4 import QtGui class SystemTrayIcon QtGui.QSystemTrayIcon.. menu def main app QtGui.QApplication sys.argv w QtGui.QWidget trayIcon SystemTrayIcon QtGui.QIcon Bomb.xpm w trayIcon.show..