Results 176 - 200 of about 264 results out of about 3506 pages. (0.87 seconds)
- PyQt/Sorting numbers in columns . . . 1 match
- ...e.
{{{
#!python
import random, sys
from PyQt4.QtCore import Qt, QVariant
from PyQt4.QtGui import *
class NumberSortModel(QSortFilterProxyModel):
def lessThan(self, left, r...
- PyQt/Showing a subset of a model in a view . . . 1 match
- ...to use a proxy model.
{{{
#!python
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
tree_data = [
("Alice", [
("Keys", []),
("Purse", [
...
- PyQt/Show an image using a label . . . 1 match
- ... Freenode, `elhobab` asked how to show an image.
{{{
#!python
import sys
from PyQt4.QtGui import *
app = QApplication(sys.argv)
label = QLabel()
pixmap = QPixmap(sys.argv[1])
...
- PyQt/Sending Python values with signals and slots . . . 1 match
- ...e code are incorrect.
{{{
#!python
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class Window(QWidget):
def __init__(self, parent = None):
Q...
- PyQt/Selecting items in unrelated views . . . 1 match
- ...on model to select it.
{{{
#!python
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
data = [
("Alice", [
("Keys", []),
("Purse", [
...
- PyQt/Selecting a region of a widget . . . 1 match
- ...thon
import random, sys
from PyQt4.QtCore import QPoint, QRect, QSize, Qt
from PyQt4.QtGui import *
class Window(QLabel):
def __init__(self, parent = None):
QL...
- PyQt/Removing a database . . . 1 match
- ...t data sources before the connection is removed.
{{{
#!python
import sys
from PyQt4.QtGui import *
from PyQt4.QtSql import *
class Window(QMainWindow):
def __init__(self, ...
- PyQt/ReleaseForge . . . 1 match
- ...!ReleaseForge is a GUI application designed for project administrators and release engineers of projects that are hosted at !SourceForge. It is intended to make it easier and fast...
- PyQt/Reading selections from a selection model . . . 1 match
- ...pdate them.
{{{
#!python
import sys
from PyQt4.QtCore import QModelIndex
from PyQt4.QtGui import *
class Window(QMainWindow):
def __init__(self, parent = None):
...
- PyQt/PyQtLicensing . . . 1 match
- ...ersion.
At the request of Trolltech, there is no version of !PyQt that corresponds to the non-commercial version of Qt distributed with the book ''C++ GUI Programming with Qt3''....
- PyQt/Previewing a form . . . 1 match
- ...view a main window form created in Qt Designer.
{{{
#!python
import sys
from PyQt4.QtGui import QApplication
from PyQt4.uic import loadUi
if __name__ == "__main__":
app =...
- PyQt/Playing a sound with QtMultimedia . . . 1 match
- ...t struct, sys
from PyQt4.QtCore import QBuffer, QByteArray, QIODevice, Qt
from PyQt4.QtGui import QApplication, QFormLayout, QLineEdit, QHBoxLayout, \
QPu...
- PyQt/Painting and clipping demonstration (clipper_path.py) . . . 0 matches
- PyQt/Painting and clipping demonstration (clipper.py) . . . 0 matches
- PyQt/Painting and clipping demonstration . . . 1 match
- ...de a given rectangle.
{{{
#!python
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class Window(QWidget):
def __init__(self):
QWidget.__init__...
- PyQt/Painting an overlay on an image . . . 1 match
- ...more complex overlays.
{{{#!python
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
if __name__ == "__main__":
app = QApplication(sys.argv)
if len(...
- PyQt/Paint on an image (painttext.py) . . . 0 matches
- PyQt/Paint on an image . . . 1 match
- ...hment:painttext.png}}
{{{
#!python
import sys
from PyQt4.QtCore import Qt
from PyQt4.QtGui import *
class Window(QWidget):
def __init__(self, parent = None):
Q...
- PyQt/Multimedia_Resources/MPlayerWidget (mplayerwidget.py) . . . 0 matches
- PyQt/Movie splash screen . . . 1 match
- ...creen.
{{{
#!python
import sys, time
from PyQt4.QtCore import Qt, QTimer
from PyQt4.QtGui import *
class MovieSplashScreen(QSplashScreen):
def __init__(self, movie, parent...
- PyQt/Modifying_a_standard_Qt_image_plugin . . . 1 match
- ...ollowing code can be used as a test:
{{{#!/usr/bin/env python
import sys
from PyQt4.QtGui import *
app = QApplication([])
image = QImage(200, 200, QImage.Format_Mono)
image.fi...
- PyQt/Handling context menus (custommenu_subclass.py) . . . 0 matches
- PyQt/Handling context menus (custommenu_signal.py) . . . 0 matches
- PyQt/Handling context menus (custommenu_actions_standard.py) . . . 0 matches
- PyQt/Handling context menus (custommenu_actions.py) . . . 0 matches