File: qtgui.html

package info (click to toggle)
python-qt4 4.0.1-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 18,632 kB
  • ctags: 2,639
  • sloc: python: 29,409; sh: 5,646; cpp: 3,168; xml: 149; makefile: 109
file content (86 lines) | stat: -rw-r--r-- 41,216 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>QtGui Module</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QtGui Module<br /></h1><p>The QtGui module extends QtCore with GUI functionality. <a href="#details">More...</a></p><h3>Types</h3><ul><li><div class="fn" />class <b><a href="qabstractbutton.html">QAbstractButton</a></b></li><li><div class="fn" />class <b><a href="qabstractitemdelegate.html">QAbstractItemDelegate</a></b></li><li><div class="fn" />class <b><a href="qabstractitemview.html">QAbstractItemView</a></b></li><li><div class="fn" />class <b><a href="qabstractprintdialog.html">QAbstractPrintDialog</a></b></li><li><div class="fn" />class <b><a href="qabstractproxymodel.html">QAbstractProxyModel</a></b></li><li><div class="fn" />class <b><a href="qabstractscrollarea.html">QAbstractScrollArea</a></b></li><li><div class="fn" />class <b><a href="qabstractslider.html">QAbstractSlider</a></b></li><li><div class="fn" />class <b><a href="qabstractspinbox.html">QAbstractSpinBox</a></b></li><li><div class="fn" />class <b><a href="qabstracttextdocumentlayout.html">QAbstractTextDocumentLayout</a></b></li><li><div class="fn" />class <b><a href="qaction.html">QAction</a></b></li><li><div class="fn" />class <b><a href="qactionevent.html">QActionEvent</a></b></li><li><div class="fn" />class <b><a href="qactiongroup.html">QActionGroup</a></b></li><li><div class="fn" />class <b><a href="qapplication.html">QApplication</a></b></li><li><div class="fn" />class <b><a href="qbitmap.html">QBitmap</a></b></li><li><div class="fn" />class <b><a href="qboxlayout.html">QBoxLayout</a></b></li><li><div class="fn" />class <b><a href="qbrush.html">QBrush</a></b></li><li><div class="fn" />class <b><a href="qbuttongroup.html">QButtonGroup</a></b></li><li><div class="fn" />class <b><a href="qcheckbox.html">QCheckBox</a></b></li><li><div class="fn" />class <b><a href="qclipboard.html">QClipboard</a></b></li><li><div class="fn" />class <b><a href="qcloseevent.html">QCloseEvent</a></b></li><li><div class="fn" />class <b><a href="qcolor.html">QColor</a></b></li><li><div class="fn" />class <b><a href="qcolordialog.html">QColorDialog</a></b></li><li><div class="fn" />class <b><a href="qcombobox.html">QComboBox</a></b></li><li><div class="fn" />class <b><a href="qconicalgradient.html">QConicalGradient</a></b></li><li><div class="fn" />class <b><a href="qcontextmenuevent.html">QContextMenuEvent</a></b></li><li><div class="fn" />class <b><a href="qcursor.html">QCursor</a></b></li><li><div class="fn" />class <b><a href="qdateedit.html">QDateEdit</a></b></li><li><div class="fn" />class <b><a href="qdatetimeedit.html">QDateTimeEdit</a></b></li><li><div class="fn" />class <b><a href="qdesktopwidget.html">QDesktopWidget</a></b></li><li><div class="fn" />class <b><a href="qdial.html">QDial</a></b></li><li><div class="fn" />class <b><a href="qdialog.html">QDialog</a></b></li><li><div class="fn" />class <b><a href="qdirmodel.html">QDirModel</a></b></li><li><div class="fn" />class <b><a href="qdockwidget.html">QDockWidget</a></b></li><li><div class="fn" />class <b><a href="qdoublespinbox.html">QDoubleSpinBox</a></b></li><li><div class="fn" />class <b><a href="qdoublevalidator.html">QDoubleValidator</a></b></li><li><div class="fn" />class <b><a href="qdrag.html">QDrag</a></b></li><li><div class="fn" />class <b><a href="qdragenterevent.html">QDragEnterEvent</a></b></li><li><div class="fn" />class <b><a href="qdragleaveevent.html">QDragLeaveEvent</a></b></li><li><div class="fn" />class <b><a href="qdragmoveevent.html">QDragMoveEvent</a></b></li><li><div class="fn" />class <b><a href="qdropevent.html">QDropEvent</a></b></li><li><div class="fn" />class <b><a href="qerrormessage.html">QErrorMessage</a></b></li><li><div class="fn" />class <b><a href="qfiledialog.html">QFileDialog</a></b></li><li><div class="fn" />class <b><a href="qfileiconprovider.html">QFileIconProvider</a></b></li><li><div class="fn" />class <b><a href="qfileopenevent.html">QFileOpenEvent</a></b></li><li><div class="fn" />class <b><a href="qfocusevent.html">QFocusEvent</a></b></li><li><div class="fn" />class <b><a href="qfocusframe.html">QFocusFrame</a></b></li><li><div class="fn" />class <b><a href="qfont.html">QFont</a></b></li><li><div class="fn" />class <b><a href="qfontdatabase.html">QFontDatabase</a></b></li><li><div class="fn" />class <b><a href="qfontdialog.html">QFontDialog</a></b></li><li><div class="fn" />class <b><a href="qfontinfo.html">QFontInfo</a></b></li><li><div class="fn" />class <b><a href="qfontmetrics.html">QFontMetrics</a></b></li><li><div class="fn" />class <b><a href="qfontmetricsf.html">QFontMetricsF</a></b></li><li><div class="fn" />class <b><a href="qframe.html">QFrame</a></b></li><li><div class="fn" />class <b><a href="qgradient.html">QGradient</a></b></li><li><div class="fn" />class <b><a href="qgridlayout.html">QGridLayout</a></b></li><li><div class="fn" />class <b><a href="qgroupbox.html">QGroupBox</a></b></li><li><div class="fn" />class <b><a href="qhboxlayout.html">QHBoxLayout</a></b></li><li><div class="fn" />class <b><a href="qheaderview.html">QHeaderView</a></b></li><li><div class="fn" />class <b><a href="qhelpevent.html">QHelpEvent</a></b></li><li><div class="fn" />class <b><a href="qhideevent.html">QHideEvent</a></b></li><li><div class="fn" />class <b><a href="qhoverevent.html">QHoverEvent</a></b></li><li><div class="fn" />class <b><a href="qicon.html">QIcon</a></b></li><li><div class="fn" />class <b><a href="qicondragevent.html">QIconDragEvent</a></b></li><li><div class="fn" />class <b><a href="qiconengine.html">QIconEngine</a></b></li><li><div class="fn" />class <b><a href="qimage.html">QImage</a></b></li><li><div class="fn" />class <b><a href="qimagereader.html">QImageReader</a></b></li><li><div class="fn" />class <b><a href="qimagewriter.html">QImageWriter</a></b></li><li><div class="fn" />class <b><a href="qinputcontext.html">QInputContext</a></b></li><li><div class="fn" />class <b><a href="qinputdialog.html">QInputDialog</a></b></li><li><div class="fn" />class <b><a href="qinputevent.html">QInputEvent</a></b></li><li><div class="fn" />class <b><a href="qinputmethodevent.html">QInputMethodEvent</a></b></li><li><div class="fn" />class <b><a href="qintvalidator.html">QIntValidator</a></b></li><li><div class="fn" />class <b><a href="qitemdelegate.html">QItemDelegate</a></b></li><li><div class="fn" />class <b><a href="qitemeditorcreatorbase.html">QItemEditorCreatorBase</a></b></li><li><div class="fn" />class <b><a href="qitemeditorfactory.html">QItemEditorFactory</a></b></li><li><div class="fn" />class <b><a href="qitemselection.html">QItemSelection</a></b></li><li><div class="fn" />class <b><a href="qitemselectionmodel.html">QItemSelectionModel</a></b></li><li><div class="fn" />class <b><a href="qitemselectionrange.html">QItemSelectionRange</a></b></li><li><div class="fn" />class <b><a href="qkeyevent.html">QKeyEvent</a></b></li><li><div class="fn" />class <b><a href="qkeysequence.html">QKeySequence</a></b></li><li><div class="fn" />class <b><a href="qlabel.html">QLabel</a></b></li><li><div class="fn" />class <b><a href="qlayout.html">QLayout</a></b></li><li><div class="fn" />class <b><a href="qlayoutitem.html">QLayoutItem</a></b></li><li><div class="fn" />class <b><a href="qlcdnumber.html">QLCDNumber</a></b></li><li><div class="fn" />class <b><a href="qlineargradient.html">QLinearGradient</a></b></li><li><div class="fn" />class <b><a href="qlineedit.html">QLineEdit</a></b></li><li><div class="fn" />class <b><a href="qlistview.html">QListView</a></b></li><li><div class="fn" />class <b><a href="qlistwidget.html">QListWidget</a></b></li><li><div class="fn" />class <b><a href="qlistwidgetitem.html">QListWidgetItem</a></b></li><li><div class="fn" />class <b><a href="qmainwindow.html">QMainWindow</a></b></li><li><div class="fn" />class <b><a href="qmatrix.html">QMatrix</a></b></li><li><div class="fn" />class <b><a href="qmenu.html">QMenu</a></b></li><li><div class="fn" />class <b><a href="qmenubar.html">QMenuBar</a></b></li><li><div class="fn" />class <b><a href="qmessagebox.html">QMessageBox</a></b></li><li><div class="fn" />class <b><a href="qmimesource.html">QMimeSource</a></b></li><li><div class="fn" />class <b><a href="qmouseevent.html">QMouseEvent</a></b></li><li><div class="fn" />class <b><a href="qmoveevent.html">QMoveEvent</a></b></li><li><div class="fn" />class <b><a href="qmovie.html">QMovie</a></b></li><li><div class="fn" />class <b><a href="qpagesetupdialog.html">QPageSetupDialog</a></b></li><li><div class="fn" />class <b><a href="qpaintdevice.html">QPaintDevice</a></b></li><li><div class="fn" />class <b><a href="qpaintengine.html">QPaintEngine</a></b></li><li><div class="fn" />class <b><a href="qpaintenginestate.html">QPaintEngineState</a></b></li><li><div class="fn" />class <b><a href="qpainter.html">QPainter</a></b></li><li><div class="fn" />class <b><a href="qpainterpath.html">QPainterPath</a></b></li><li><div class="fn" />class <b><a href="qpaintevent.html">QPaintEvent</a></b></li><li><div class="fn" />class <b><a href="qpalette.html">QPalette</a></b></li><li><div class="fn" />class <b><a href="qpen.html">QPen</a></b></li><li><div class="fn" />class <b><a href="qpicture.html">QPicture</a></b></li><li><div class="fn" />class <b><a href="qpictureio.html">QPictureIO</a></b></li><li><div class="fn" />class <b><a href="qpixmap.html">QPixmap</a></b></li><li><div class="fn" />class <b><a href="qpixmapcache.html">QPixmapCache</a></b></li><li><div class="fn" />class <b><a href="qpolygon.html">QPolygon</a></b></li><li><div class="fn" />class <b><a href="qpolygonf.html">QPolygonF</a></b></li><li><div class="fn" />class <b><a href="qprintdialog.html">QPrintDialog</a></b></li><li><div class="fn" />class <b><a href="qprintengine.html">QPrintEngine</a></b></li><li><div class="fn" />class <b><a href="qprinter.html">QPrinter</a></b></li><li><div class="fn" />class <b><a href="qprogressbar.html">QProgressBar</a></b></li><li><div class="fn" />class <b><a href="qprogressdialog.html">QProgressDialog</a></b></li><li><div class="fn" />class <b><a href="qproxymodel.html">QProxyModel</a></b></li><li><div class="fn" />class <b><a href="qpushbutton.html">QPushButton</a></b></li><li><div class="fn" />class <b><a href="qradialgradient.html">QRadialGradient</a></b></li><li><div class="fn" />class <b><a href="qradiobutton.html">QRadioButton</a></b></li><li><div class="fn" />class <b><a href="qregexpvalidator.html">QRegExpValidator</a></b></li><li><div class="fn" />class <b><a href="qregion.html">QRegion</a></b></li><li><div class="fn" />class <b><a href="qresizeevent.html">QResizeEvent</a></b></li><li><div class="fn" />class <b><a href="qrubberband.html">QRubberBand</a></b></li><li><div class="fn" />class <b><a href="qscrollarea.html">QScrollArea</a></b></li><li><div class="fn" />class <b><a href="qscrollbar.html">QScrollBar</a></b></li><li><div class="fn" />class <b><a href="qsessionmanager.html">QSessionManager</a></b></li><li><div class="fn" />class <b><a href="qshortcut.html">QShortcut</a></b></li><li><div class="fn" />class <b><a href="qshortcutevent.html">QShortcutEvent</a></b></li><li><div class="fn" />class <b><a href="qshowevent.html">QShowEvent</a></b></li><li><div class="fn" />class <b><a href="qsizegrip.html">QSizeGrip</a></b></li><li><div class="fn" />class <b><a href="qsizepolicy.html">QSizePolicy</a></b></li><li><div class="fn" />class <b><a href="qslider.html">QSlider</a></b></li><li><div class="fn" />class <b><a href="qsortfilterproxymodel.html">QSortFilterProxyModel</a></b></li><li><div class="fn" />class <b><a href="qsound.html">QSound</a></b></li><li><div class="fn" />class <b><a href="qspaceritem.html">QSpacerItem</a></b></li><li><div class="fn" />class <b><a href="qspinbox.html">QSpinBox</a></b></li><li><div class="fn" />class <b><a href="qsplashscreen.html">QSplashScreen</a></b></li><li><div class="fn" />class <b><a href="qsplitter.html">QSplitter</a></b></li><li><div class="fn" />class <b><a href="qsplitterhandle.html">QSplitterHandle</a></b></li><li><div class="fn" />class <b><a href="qstackedlayout.html">QStackedLayout</a></b></li><li><div class="fn" />class <b><a href="qstackedwidget.html">QStackedWidget</a></b></li><li><div class="fn" />class <b><a href="qstandarditemmodel.html">QStandardItemModel</a></b></li><li><div class="fn" />class <b><a href="qstatusbar.html">QStatusBar</a></b></li><li><div class="fn" />class <b><a href="qstatustipevent.html">QStatusTipEvent</a></b></li><li><div class="fn" />class <b><a href="qstringlistmodel.html">QStringListModel</a></b></li><li><div class="fn" />class <b><a href="qstyle.html">QStyle</a></b></li><li><div class="fn" />class <b><a href="qstylefactory.html">QStyleFactory</a></b></li><li><div class="fn" />class <b><a href="qstylehintreturn.html">QStyleHintReturn</a></b></li><li><div class="fn" />class <b><a href="qstylehintreturnmask.html">QStyleHintReturnMask</a></b></li><li><div class="fn" />class <b><a href="qstyleoption.html">QStyleOption</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionbutton.html">QStyleOptionButton</a></b></li><li><div class="fn" />class <b><a href="qstyleoptioncombobox.html">QStyleOptionComboBox</a></b></li><li><div class="fn" />class <b><a href="qstyleoptioncomplex.html">QStyleOptionComplex</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiondockwidget.html">QStyleOptionDockWidget</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionfocusrect.html">QStyleOptionFocusRect</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionframe.html">QStyleOptionFrame</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionframev2.html">QStyleOptionFrameV2</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiongroupbox.html">QStyleOptionGroupBox</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionheader.html">QStyleOptionHeader</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionmenuitem.html">QStyleOptionMenuItem</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionprogressbar.html">QStyleOptionProgressBar</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionprogressbarv2.html">QStyleOptionProgressBarV2</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionrubberband.html">QStyleOptionRubberBand</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionslider.html">QStyleOptionSlider</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionspinbox.html">QStyleOptionSpinBox</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiontab.html">QStyleOptionTab</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiontabbarbase.html">QStyleOptionTabBarBase</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiontabv2.html">QStyleOptionTabV2</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiontabwidgetframe.html">QStyleOptionTabWidgetFrame</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiontitlebar.html">QStyleOptionTitleBar</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiontoolbar.html">QStyleOptionToolBar</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiontoolbox.html">QStyleOptionToolBox</a></b></li><li><div class="fn" />class <b><a href="qstyleoptiontoolbutton.html">QStyleOptionToolButton</a></b></li><li><div class="fn" />class <b><a href="qstyleoptionviewitem.html">QStyleOptionViewItem</a></b></li><li><div class="fn" />class <b><a href="qsyntaxhighlighter.html">QSyntaxHighlighter</a></b></li><li><div class="fn" />class <b><a href="qtabbar.html">QTabBar</a></b></li><li><div class="fn" />class <b><a href="qtabletevent.html">QTabletEvent</a></b></li><li><div class="fn" />class <b><a href="qtableview.html">QTableView</a></b></li><li><div class="fn" />class <b><a href="qtablewidget.html">QTableWidget</a></b></li><li><div class="fn" />class <b><a href="qtablewidgetitem.html">QTableWidgetItem</a></b></li><li><div class="fn" />class <b><a href="qtablewidgetselectionrange.html">QTableWidgetSelectionRange</a></b></li><li><div class="fn" />class <b><a href="qtabwidget.html">QTabWidget</a></b></li><li><div class="fn" />class <b><a href="qtextblock.html">QTextBlock</a></b></li><li><div class="fn" />class <b><a href="qtextblockformat.html">QTextBlockFormat</a></b></li><li><div class="fn" />class <b><a href="qtextblockgroup.html">QTextBlockGroup</a></b></li><li><div class="fn" />class <b><a href="qtextblockuserdata.html">QTextBlockUserData</a></b></li><li><div class="fn" />class <b><a href="qtextbrowser.html">QTextBrowser</a></b></li><li><div class="fn" />class <b><a href="qtextcharformat.html">QTextCharFormat</a></b></li><li><div class="fn" />class <b><a href="qtextcursor.html">QTextCursor</a></b></li><li><div class="fn" />class <b><a href="qtextdocument.html">QTextDocument</a></b></li><li><div class="fn" />class <b><a href="qtextdocumentfragment.html">QTextDocumentFragment</a></b></li><li><div class="fn" />class <b><a href="qtextedit.html">QTextEdit</a></b></li><li><div class="fn" />class <b><a href="qtextformat.html">QTextFormat</a></b></li><li><div class="fn" />class <b><a href="qtextfragment.html">QTextFragment</a></b></li><li><div class="fn" />class <b><a href="qtextframe.html">QTextFrame</a></b></li><li><div class="fn" />class <b><a href="qtextframeformat.html">QTextFrameFormat</a></b></li><li><div class="fn" />class <b><a href="qtextimageformat.html">QTextImageFormat</a></b></li><li><div class="fn" />class <b><a href="qtextinlineobject.html">QTextInlineObject</a></b></li><li><div class="fn" />class <b><a href="qtextitem.html">QTextItem</a></b></li><li><div class="fn" />class <b><a href="qtextlayout.html">QTextLayout</a></b></li><li><div class="fn" />class <b><a href="qtextlength.html">QTextLength</a></b></li><li><div class="fn" />class <b><a href="qtextline.html">QTextLine</a></b></li><li><div class="fn" />class <b><a href="qtextlist.html">QTextList</a></b></li><li><div class="fn" />class <b><a href="qtextlistformat.html">QTextListFormat</a></b></li><li><div class="fn" />class <b><a href="qtextobject.html">QTextObject</a></b></li><li><div class="fn" />class <b><a href="qtextoption.html">QTextOption</a></b></li><li><div class="fn" />class <b><a href="qtexttable.html">QTextTable</a></b></li><li><div class="fn" />class <b><a href="qtexttablecell.html">QTextTableCell</a></b></li><li><div class="fn" />class <b><a href="qtexttableformat.html">QTextTableFormat</a></b></li><li><div class="fn" />class <b><a href="qtimeedit.html">QTimeEdit</a></b></li><li><div class="fn" />class <b><a href="qtoolbar.html">QToolBar</a></b></li><li><div class="fn" />class <b><a href="qtoolbox.html">QToolBox</a></b></li><li><div class="fn" />class <b><a href="qtoolbutton.html">QToolButton</a></b></li><li><div class="fn" />class <b><a href="qtooltip.html">QToolTip</a></b></li><li><div class="fn" />class <b><a href="qtreeview.html">QTreeView</a></b></li><li><div class="fn" />class <b><a href="qtreewidget.html">QTreeWidget</a></b></li><li><div class="fn" />class <b><a href="qtreewidgetitem.html">QTreeWidgetItem</a></b></li><li><div class="fn" />class <b><a href="qtreewidgetitemiterator.html">QTreeWidgetItemIterator</a></b></li><li><div class="fn" />class <b><a href="qvalidator.html">QValidator</a></b></li><li><div class="fn" />class <b><a href="qvboxlayout.html">QVBoxLayout</a></b></li><li><div class="fn" />class <b><a href="qwhatsthis.html">QWhatsThis</a></b></li><li><div class="fn" />class <b><a href="qwhatsthisclickedevent.html">QWhatsThisClickedEvent</a></b></li><li><div class="fn" />class <b><a href="qwheelevent.html">QWheelEvent</a></b></li><li><div class="fn" />class <b><a href="qwidget.html">QWidget</a></b></li><li><div class="fn" />class <b><a href="qwidgetitem.html">QWidgetItem</a></b></li><li><div class="fn" />class <b><a href="qwindowstatechangeevent.html">QWindowStateChangeEvent</a></b></li><li><div class="fn" />class <b><a href="qworkspace.html">QWorkspace</a></b></li><li><div class="fn" />class <b><a href="qx11info.html">QX11Info</a></b></li></ul><h3>Module Functions</h3><ul><li><div class="fn" />int <b><a href="qtgui.html#qAlpha">qAlpha</a></b> (unsigned long&#160;<i>rgb</i>)</li><li><div class="fn" />int <b><a href="qtgui.html#qBlue">qBlue</a></b> (unsigned long&#160;<i>rgb</i>)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawPlainRect">qDrawPlainRect</a></b> (QPainter&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, QColor, int&#160;<i>lineWidth</i>&#160;=&#160;1, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawPlainRect-2">qDrawPlainRect</a></b> (QPainter&#160;<i>p</i>, QRect&#160;<i>r</i>, QColor, int&#160;<i>lineWidth</i>&#160;=&#160;1, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawShadeLine">qDrawShadeLine</a></b> (QPainter&#160;<i>p</i>, int&#160;<i>x1</i>, int&#160;<i>y1</i>, int&#160;<i>x2</i>, int&#160;<i>y2</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;True, int&#160;<i>lineWidth</i>&#160;=&#160;1, int&#160;<i>midLineWidth</i>&#160;=&#160;0)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawShadeLine-2">qDrawShadeLine</a></b> (QPainter&#160;<i>p</i>, QPoint&#160;<i>p1</i>, QPoint&#160;<i>p2</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;True, int&#160;<i>lineWidth</i>&#160;=&#160;1, int&#160;<i>midLineWidth</i>&#160;=&#160;0)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawShadePanel">qDrawShadePanel</a></b> (QPainter&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, int&#160;<i>lineWidth</i>&#160;=&#160;1, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawShadePanel-2">qDrawShadePanel</a></b> (QPainter&#160;<i>p</i>, QRect&#160;<i>r</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, int&#160;<i>lineWidth</i>&#160;=&#160;1, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawShadeRect">qDrawShadeRect</a></b> (QPainter&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, int&#160;<i>lineWidth</i>&#160;=&#160;1, int&#160;<i>midLineWidth</i>&#160;=&#160;0, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawShadeRect-2">qDrawShadeRect</a></b> (QPainter&#160;<i>p</i>, QRect&#160;<i>r</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, int&#160;<i>lineWidth</i>&#160;=&#160;1, int&#160;<i>midLineWidth</i>&#160;=&#160;0, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawWinButton">qDrawWinButton</a></b> (QPainter&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawWinButton-2">qDrawWinButton</a></b> (QPainter&#160;<i>p</i>, QRect&#160;<i>r</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawWinPanel">qDrawWinPanel</a></b> (QPainter&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qtgui.html#qDrawWinPanel-2">qDrawWinPanel</a></b> (QPainter&#160;<i>p</i>, QRect&#160;<i>r</i>, QPalette&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, QBrush&#160;<i>fill</i>&#160;=&#160;None)</li><li><div class="fn" />int <b><a href="qtgui.html#qGray">qGray</a></b> (int&#160;<i>r</i>, int&#160;<i>g</i>, int&#160;<i>b</i>)</li><li><div class="fn" />int <b><a href="qtgui.html#qGray-2">qGray</a></b> (unsigned long&#160;<i>rgb</i>)</li><li><div class="fn" />int <b><a href="qtgui.html#qGreen">qGreen</a></b> (unsigned long&#160;<i>rgb</i>)</li><li><div class="fn" />bool <b><a href="qtgui.html#qIsGray">qIsGray</a></b> (unsigned long&#160;<i>rgb</i>)</li><li><div class="fn" />int <b><a href="qtgui.html#qRed">qRed</a></b> (unsigned long&#160;<i>rgb</i>)</li><li><div class="fn" />unsigned long <b><a href="qtgui.html#qRgb">qRgb</a></b> (int&#160;<i>r</i>, int&#160;<i>g</i>, int&#160;<i>b</i>)</li><li><div class="fn" />unsigned long <b><a href="qtgui.html#qRgba">qRgba</a></b> (int&#160;<i>r</i>, int&#160;<i>g</i>, int&#160;<i>b</i>, int&#160;<i>a</i>)</li></ul><h3>Module Members</h3><ul><li><div class="fn" />QApplication <b><a href="qtgui.html#qApp-var">qApp</a></b></li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QtGui module extends <a href="qtcore.html">QtCore</a> with GUI functionality.</p>
<p>To import the module use, for example, the following statement:</p>
<pre>
from PyQt4 import QtGui
</pre>
<hr /><h2>Function Documentation</h2><h3 class="fn"><a name="qAlpha" />int qAlpha (unsigned long&#160;<i>rgb</i>)</h3><p>Returns the alpha component of the ARGB quadruplet <i>rgba</i>.</p>
<p>See also <a href="qtgui.html#qRgb">qRgb</a>() and <a href="qcolor.html#alpha">QColor.alpha</a>().</p>
<h3 class="fn"><a name="qBlue" />int qBlue (unsigned long&#160;<i>rgb</i>)</h3><p>Returns the blue component of the ARGB quadruplet <i>rgb</i>.</p>
<p>See also <a href="qtgui.html#qRgb">qRgb</a>() and <a href="qcolor.html#blue">QColor.blue</a>().</p>
<h3 class="fn"><a name="qDrawPlainRect" />qDrawPlainRect (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, <a href="qcolor.html">QColor</a>, int&#160;<i>lineWidth</i>&#160;=&#160;1, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><p>Draws the plain rectangle beginning at (<i>x</i>, <i>y</i>) with the given <i>width</i> and <i>height</i>, using the provided <i>painter</i>, <i>lineColor</i> and <i>lineWidth</i> . The rectangle's interior is filled with the <i>fill</i> brush unless <i>fill</i> is 0.</p>
<p><b>Warning:</b> This function does not look at <a href="qwidget.html#style">QWidget.style</a>() or <a href="qapplication.html#style">QApplication.style</a>(). Use the drawing functions in <a href="qstyle.html">QStyle</a> to make widgets that follow the current GUI style.</p>
<p>Alternatively you can use a <a href="qframe.html">QFrame</a> widget and apply the <a href="qframe.html#setFrameStyle">QFrame.setFrameStyle</a>() function to display a plain rectangle:</p>
<pre>
    QFrame frame:
    frame.setFrameStyle(QFrame.Box | QFrame.Plain);
</pre>
<p>See also <a href="qtgui.html#qDrawShadeRect">qDrawShadeRect</a>() and <a href="qstyle.html">QStyle</a>.</p>
<h3 class="fn"><a name="qDrawPlainRect-2" />qDrawPlainRect (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, <a href="qrect.html">QRect</a>&#160;<i>r</i>, <a href="qcolor.html">QColor</a>, int&#160;<i>lineWidth</i>&#160;=&#160;1, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><h3 class="fn"><a name="qDrawShadeLine" />qDrawShadeLine (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, int&#160;<i>x1</i>, int&#160;<i>y1</i>, int&#160;<i>x2</i>, int&#160;<i>y2</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;True, int&#160;<i>lineWidth</i>&#160;=&#160;1, int&#160;<i>midLineWidth</i>&#160;=&#160;0)</h3><p>Draws a horizontal (<i>y1</i> == <i>y2</i>) or vertical (<i>x1</i> == <i>x2</i>) shaded line using the given <i>painter</i>. Note that nothing is drawn if <i>y1</i> != <i>y2</i> and <i>x1</i> != <i>x2</i> (i.e. the line is neither horizontal nor vertical).</p>
<p>The provided <i>palette</i> specifies the shading colors (<a href="qpalette.html#light">light</a>, <a href="qpalette.html#dark">dark</a> and <a href="qpalette.html#mid">middle</a> colors). The given <i>lineWidth</i> specifies the line width for each of the lines; it is not the total line width. The given <i>midLineWidth</i> specifies the width of a middle line drawn in the <a href="qpalette.html#mid">QPalette.mid</a>() color.</p>
<p>The line appears sunken if <i>sunken</i> is true, otherwise raised.</p>
<p><b>Warning:</b> This function does not look at <a href="qwidget.html#style">QWidget.style</a>() or <a href="qapplication.html#style">QApplication.style</a>(). Use the drawing functions in <a href="qstyle.html">QStyle</a> to make widgets that follow the current GUI style.</p>
<p>Alternatively you can use a <a href="qframe.html">QFrame</a> widget and apply the <a href="qframe.html#setFrameStyle">QFrame.setFrameStyle</a>() function to display a shaded line:</p>
<pre>
    QFrame frame:
    frame.setFrameStyle(QFrame.HLine | QFrame.Sunken);
</pre>
<p>See also <a href="qtgui.html#qDrawShadeRect">qDrawShadeRect</a>(), <a href="qtgui.html#qDrawShadePanel">qDrawShadePanel</a>(), and <a href="qstyle.html">QStyle</a>.</p>
<h3 class="fn"><a name="qDrawShadeLine-2" />qDrawShadeLine (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, <a href="qpoint.html">QPoint</a>&#160;<i>p1</i>, <a href="qpoint.html">QPoint</a>&#160;<i>p2</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;True, int&#160;<i>lineWidth</i>&#160;=&#160;1, int&#160;<i>midLineWidth</i>&#160;=&#160;0)</h3><h3 class="fn"><a name="qDrawShadePanel" />qDrawShadePanel (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, int&#160;<i>lineWidth</i>&#160;=&#160;1, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><p>Draws the shaded panel beginning at (<i>x</i>, <i>y</i>) with the given <i>width</i> and <i>height</i> using the provided <i>painter</i> and the given <i>lineWidth</i>.</p>
<p>The given <i>palette</i> specifies the shading colors (<a href="qpalette.html#light">light</a>, <a href="qpalette.html#dark">dark</a> and <a href="qpalette.html#mid">middle</a> colors). The panel's interior is filled with the <i>fill</i> brush unless <i>fill</i> is 0.</p>
<p>The panel appears sunken if <i>sunken</i> is true, otherwise raised.</p>
<p><b>Warning:</b> This function does not look at <a href="qwidget.html#style">QWidget.style</a>() or <a href="qapplication.html#style">QApplication.style</a>(). Use the drawing functions in <a href="qstyle.html">QStyle</a> to make widgets that follow the current GUI style.</p>
<p>Alternatively you can use a <a href="qframe.html">QFrame</a> widget and apply the <a href="qframe.html#setFrameStyle">QFrame.setFrameStyle</a>() function to display a shaded panel:</p>
<pre>
    QFrame frame:
    frame.setFrameStyle( QFrame.Panel | QFrame.Sunken);
</pre>
<p>See also <a href="qtgui.html#qDrawWinPanel">qDrawWinPanel</a>(), <a href="qtgui.html#qDrawShadeLine">qDrawShadeLine</a>(), <a href="qtgui.html#qDrawShadeRect">qDrawShadeRect</a>(), and <a href="qstyle.html">QStyle</a>.</p>
<h3 class="fn"><a name="qDrawShadePanel-2" />qDrawShadePanel (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, <a href="qrect.html">QRect</a>&#160;<i>r</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, int&#160;<i>lineWidth</i>&#160;=&#160;1, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><h3 class="fn"><a name="qDrawShadeRect" />qDrawShadeRect (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, int&#160;<i>lineWidth</i>&#160;=&#160;1, int&#160;<i>midLineWidth</i>&#160;=&#160;0, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><p>Draws the shaded rectangle beginning at (<i>x</i>, <i>y</i>) with the given <i>width</i> and <i>height</i> using the provided <i>painter</i>.</p>
<p>The provide <i>palette</i> specifies the shading colors (<a href="qpalette.html#light">light</a>, <a href="qpalette.html#dark">dark</a> and <a href="qpalette.html#mid">middle</a> colors. The given <i>lineWidth</i> specifies the line width for each of the lines; it is not the total line width. The <i>midLineWidth</i> specifies the width of a middle line drawn in the <a href="qpalette.html#mid">QPalette.mid</a>() color. The rectangle's interior is filled with the <i>fill</i> brush unless <i>fill</i> is 0.</p>
<p>The rectangle appears sunken if <i>sunken</i> is true, otherwise raised.</p>
<p><b>Warning:</b> This function does not look at <a href="qwidget.html#style">QWidget.style</a>() or <a href="qapplication.html#style">QApplication.style</a>(). Use the drawing functions in <a href="qstyle.html">QStyle</a> to make widgets that follow the current GUI style.</p>
<p>Alternatively you can use a <a href="qframe.html">QFrame</a> widget and apply the <a href="qframe.html#setFrameStyle">QFrame.setFrameStyle</a>() function to display a shaded rectangle:</p>
<pre>
    QFrame frame:
    frame.setFrameStyle(QFrame.Box | QFrame.Raised);
</pre>
<p>See also <a href="qtgui.html#qDrawShadeLine">qDrawShadeLine</a>(), <a href="qtgui.html#qDrawShadePanel">qDrawShadePanel</a>(), <a href="qtgui.html#qDrawPlainRect">qDrawPlainRect</a>(), and <a href="qstyle.html">QStyle</a>.</p>
<h3 class="fn"><a name="qDrawShadeRect-2" />qDrawShadeRect (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, <a href="qrect.html">QRect</a>&#160;<i>r</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, int&#160;<i>lineWidth</i>&#160;=&#160;1, int&#160;<i>midLineWidth</i>&#160;=&#160;0, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><h3 class="fn"><a name="qDrawWinButton" />qDrawWinButton (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><p>Draws the Windows-style button specified by the given point (<i>x</i>, <i>y</i>}, <i>width</i> and <i>height</i> using the provided <i>painter</i> with a line width of 2 pixels. The button's interior is filled with the <i>fill</i> brush unless <i>fill</i> is 0.</p>
<p>The given <i>palette</i> specifies the shading colors (<a href="qpalette.html#light">light</a>, <a href="qpalette.html#dark">dark</a> and <a href="qpalette.html#mid">middle</a> colors).</p>
<p>The button appears sunken if <i>sunken</i> is true, otherwise raised.</p>
<p><b>Warning:</b> This function does not look at <a href="qwidget.html#style">QWidget.style</a>() or <a href="qapplication.html#style">QApplication.style</a>()-&gt; Use the drawing functions in <a href="qstyle.html">QStyle</a> to make widgets that follow the current GUI style.</p>
<p>See also <a href="qtgui.html#qDrawWinPanel">qDrawWinPanel</a>() and <a href="qstyle.html">QStyle</a>.</p>
<h3 class="fn"><a name="qDrawWinButton-2" />qDrawWinButton (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, <a href="qrect.html">QRect</a>&#160;<i>r</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><h3 class="fn"><a name="qDrawWinPanel" />qDrawWinPanel (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, int&#160;<i>x</i>, int&#160;<i>y</i>, int&#160;<i>w</i>, int&#160;<i>h</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><p>Draws the Windows-style panel specified by the given point(<i>x</i>, <i>y</i>), <i>width</i> and <i>height</i> using the provided <i>painter</i> with a line width of 2 pixels. The button's interior is filled with the <i>fill</i> brush unless <i>fill</i> is 0.</p>
<p>The given <i>palette</i> specifies the shading colors. The panel appears sunken if <i>sunken</i> is true, otherwise raised.</p>
<p><b>Warning:</b> This function does not look at <a href="qwidget.html#style">QWidget.style</a>() or <a href="qapplication.html#style">QApplication.style</a>(). Use the drawing functions in <a href="qstyle.html">QStyle</a> to make widgets that follow the current GUI style.</p>
<p>Alternatively you can use a <a href="qframe.html">QFrame</a> widget and apply the <a href="qframe.html#setFrameStyle">QFrame.setFrameStyle</a>() function to display a shaded panel:</p>
<pre>
    QFrame frame:
    frame.setFrameStyle(QFrame.WinPanel | QFrame.Raised);
</pre>
<p>See also <a href="qtgui.html#qDrawShadePanel">qDrawShadePanel</a>(), <a href="qtgui.html#qDrawWinButton">qDrawWinButton</a>(), and <a href="qstyle.html">QStyle</a>.</p>
<h3 class="fn"><a name="qDrawWinPanel-2" />qDrawWinPanel (<a href="qpainter.html">QPainter</a>&#160;<i>p</i>, <a href="qrect.html">QRect</a>&#160;<i>r</i>, <a href="qpalette.html">QPalette</a>&#160;<i>pal</i>, bool&#160;<i>sunken</i>&#160;=&#160;False, <a href="qbrush.html">QBrush</a>&#160;<i>fill</i>&#160;=&#160;None)</h3><h3 class="fn"><a name="qGray" />int qGray (int&#160;<i>r</i>, int&#160;<i>g</i>, int&#160;<i>b</i>)</h3><p>Returns a gray value (0 to 255) from the (<i>r</i>, <i>g</i>, <i>b</i>) triplet.</p>
<p>The gray value is calculated using the formula (<i>r</i> * 11 + <i>g</i> * 16 + <i>b</i> * 5)/32.</p>
<h3 class="fn"><a name="qGray-2" />int qGray (unsigned long&#160;<i>rgb</i>)</h3><p>This is an overloaded member function, provided for convenience.</p>
<p>Returns a gray value (0 to 255) from the given ARGB quadruplet <i>rgb</i>.</p>
<p>The gray value is calculated using the formula (R * 11 + G * 16 + B * 5)/32. Note that the alpha-channel is ignored.</p>
<h3 class="fn"><a name="qGreen" />int qGreen (unsigned long&#160;<i>rgb</i>)</h3><p>Returns the green component of the ARGB quadruplet <i>rgb</i>.</p>
<p>See also <a href="qtgui.html#qRgb">qRgb</a>() and <a href="qcolor.html#green">QColor.green</a>().</p>
<h3 class="fn"><a name="qIsGray" />bool qIsGray (unsigned long&#160;<i>rgb</i>)</h3><h3 class="fn"><a name="qRed" />int qRed (unsigned long&#160;<i>rgb</i>)</h3><p>Returns the red component of the ARGB quadruplet <i>rgb</i>.</p>
<p>See also <a href="qtgui.html#qRgb">qRgb</a>() and <a href="qcolor.html#red">QColor.red</a>().</p>
<h3 class="fn"><a name="qRgb" />unsigned long qRgb (int&#160;<i>r</i>, int&#160;<i>g</i>, int&#160;<i>b</i>)</h3><p>Returns the ARGB quadruplet (255, <i>r</i>, <i>g</i>, <i>b</i>).</p>
<p>See also <a href="qtgui.html#qRgba">qRgba</a>(), <a href="qtgui.html#qRed">qRed</a>(), <a href="qtgui.html#qGreen">qGreen</a>(), and <a href="qtgui.html#qBlue">qBlue</a>().</p>
<h3 class="fn"><a name="qRgba" />unsigned long qRgba (int&#160;<i>r</i>, int&#160;<i>g</i>, int&#160;<i>b</i>, int&#160;<i>a</i>)</h3><p>Returns the ARGB quadruplet (<i>a</i>, <i>r</i>, <i>g</i>, <i>b</i>).</p>
<p>See also <a href="qtgui.html#qRgb">qRgb</a>(), <a href="qtgui.html#qRed">qRed</a>(), <a href="qtgui.html#qGreen">qGreen</a>(), and <a href="qtgui.html#qBlue">qBlue</a>().</p>
<hr /><h2>Member Documentation</h2><h3 class="fn"><a name="qApp-var" /><a href="qapplication.html">QApplication</a> qApp</h3><p>This member should be treated as a constant.</p><p>A global pointer referring to the unique application object. It is equivalent to the pointer returned by the <a href="qcoreapplication.html#instance">QCoreApplication.instance</a>() function.</p>
<p>Only one application object can be created.</p>
<p>See also <a href="qcoreapplication.html#instance">QCoreApplication.instance</a>().</p>
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td width="25%">PyQt&#160;4.0.1 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.trolltech.com">Trolltech&#160;AS</a> 2006</td><td align="right" width="25%">Qt&#160;4.1.4</td></tr></table></div></address></body></html>