qtah-qt5-0.3.0: Qt bindings for Haskell

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.Qtah.Widgets.QWidget

Documentation

class QWidgetValue a where Source #

Minimal complete definition

withQWidgetPtr

Methods

withQWidgetPtr :: a -> (QWidgetConst -> IO b) -> IO b Source #

Instances

class QObjectConstPtr this => QWidgetConstPtr this where Source #

Minimal complete definition

toQWidgetConst

Instances

QWidgetConstPtr QWidget Source # 
QWidgetConstPtr QWidgetConst Source # 
QWidgetConstPtr QMenu Source # 
QWidgetConstPtr QMenuConst Source # 
QWidgetConstPtr QAbstractButton Source # 
QWidgetConstPtr QAbstractButtonConst Source # 
QWidgetConstPtr QAbstractSlider Source # 
QWidgetConstPtr QAbstractSliderConst Source # 
QWidgetConstPtr QAbstractSpinBox Source # 
QWidgetConstPtr QAbstractSpinBoxConst Source # 
QWidgetConstPtr QCheckBox Source # 
QWidgetConstPtr QCheckBoxConst Source # 
QWidgetConstPtr QDial Source # 
QWidgetConstPtr QDialConst Source # 
QWidgetConstPtr QDialog Source # 
QWidgetConstPtr QDialogConst Source # 
QWidgetConstPtr QDoubleSpinBox Source # 
QWidgetConstPtr QDoubleSpinBoxConst Source # 
QWidgetConstPtr QFileDialog Source # 
QWidgetConstPtr QFileDialogConst Source # 
QWidgetConstPtr QFrame Source # 
QWidgetConstPtr QFrameConst Source # 
QWidgetConstPtr QGroupBox Source # 
QWidgetConstPtr QGroupBoxConst Source # 
QWidgetConstPtr QLabel Source # 
QWidgetConstPtr QLabelConst Source # 
QWidgetConstPtr QLineEdit Source # 
QWidgetConstPtr QLineEditConst Source # 
QWidgetConstPtr QInputDialog Source # 
QWidgetConstPtr QInputDialogConst Source # 
QWidgetConstPtr QMenuBar Source # 
QWidgetConstPtr QMenuBarConst Source # 
QWidgetConstPtr QProgressBar Source # 
QWidgetConstPtr QProgressBarConst Source # 
QWidgetConstPtr QPushButton Source # 
QWidgetConstPtr QPushButtonConst Source # 
QWidgetConstPtr QDialogButtonBox Source # 
QWidgetConstPtr QDialogButtonBoxConst Source # 
QWidgetConstPtr QMessageBox Source # 
QWidgetConstPtr QMessageBoxConst Source # 
QWidgetConstPtr QRadioButton Source # 
QWidgetConstPtr QRadioButtonConst Source # 
QWidgetConstPtr QRubberBand Source # 
QWidgetConstPtr QRubberBandConst Source # 
QWidgetConstPtr QScrollBar Source # 
QWidgetConstPtr QScrollBarConst Source # 
QWidgetConstPtr QAbstractScrollArea Source # 
QWidgetConstPtr QAbstractScrollAreaConst Source # 
QWidgetConstPtr QAbstractItemView Source # 
QWidgetConstPtr QAbstractItemViewConst Source # 
QWidgetConstPtr QListView Source # 
QWidgetConstPtr QListViewConst Source # 
QWidgetConstPtr QScrollArea Source # 
QWidgetConstPtr QScrollAreaConst Source # 
QWidgetConstPtr QSlider Source # 
QWidgetConstPtr QSliderConst Source # 
QWidgetConstPtr QSpinBox Source # 
QWidgetConstPtr QSpinBoxConst Source # 
QWidgetConstPtr QSplitter Source # 
QWidgetConstPtr QSplitterConst Source # 
QWidgetConstPtr QStackedWidget Source # 
QWidgetConstPtr QStackedWidgetConst Source # 
QWidgetConstPtr QStatusBar Source # 
QWidgetConstPtr QStatusBarConst Source # 
QWidgetConstPtr QMainWindow Source # 
QWidgetConstPtr QMainWindowConst Source # 
QWidgetConstPtr QTabWidget Source # 
QWidgetConstPtr QTabWidgetConst Source # 
QWidgetConstPtr QTextEdit Source # 
QWidgetConstPtr QTextEditConst Source # 
QWidgetConstPtr QGraphicsView Source # 
QWidgetConstPtr QGraphicsViewConst Source # 
QWidgetConstPtr QOpenGLWidget Source # 
QWidgetConstPtr QOpenGLWidgetConst Source # 

class (QWidgetConstPtr this, QObjectPtr this) => QWidgetPtr this where Source #

Minimal complete definition

toQWidget

Methods

toQWidget :: this -> QWidget Source #

Instances

QWidgetPtr QWidget Source # 
QWidgetPtr QMenu Source # 
QWidgetPtr QAbstractButton Source # 
QWidgetPtr QAbstractSlider Source # 
QWidgetPtr QAbstractSpinBox Source # 
QWidgetPtr QCheckBox Source # 
QWidgetPtr QDial Source # 
QWidgetPtr QDialog Source # 
QWidgetPtr QDoubleSpinBox Source # 
QWidgetPtr QFileDialog Source # 
QWidgetPtr QFrame Source # 
QWidgetPtr QGroupBox Source # 
QWidgetPtr QLabel Source # 
QWidgetPtr QLineEdit Source # 
QWidgetPtr QInputDialog Source # 
QWidgetPtr QMenuBar Source # 
QWidgetPtr QProgressBar Source # 
QWidgetPtr QPushButton Source # 
QWidgetPtr QDialogButtonBox Source # 
QWidgetPtr QMessageBox Source # 
QWidgetPtr QRadioButton Source # 
QWidgetPtr QRubberBand Source # 
QWidgetPtr QScrollBar Source # 
QWidgetPtr QAbstractScrollArea Source # 
QWidgetPtr QAbstractItemView Source # 
QWidgetPtr QListView Source # 
QWidgetPtr QScrollArea Source # 
QWidgetPtr QSlider Source # 
QWidgetPtr QSpinBox Source # 
QWidgetPtr QSplitter Source # 
QWidgetPtr QStackedWidget Source # 
QWidgetPtr QStatusBar Source # 
QWidgetPtr QMainWindow Source # 
QWidgetPtr QTabWidget Source # 
QWidgetPtr QTextEdit Source # 
QWidgetPtr QGraphicsView Source # 
QWidgetPtr QOpenGLWidget Source # 

data QWidget Source #

Instances

Eq QWidget Source # 

Methods

(==) :: QWidget -> QWidget -> Bool #

(/=) :: QWidget -> QWidget -> Bool #

Ord QWidget Source # 
Show QWidget Source # 
CppPtr QWidget Source # 
Deletable QWidget Source # 

Methods

delete :: QWidget -> IO () #

toGc :: QWidget -> IO QWidget #

QObjectPtr QWidget Source # 
QObjectConstPtr QWidget Source # 
QWidgetPtr QWidget Source # 
QWidgetConstPtr QWidget Source # 
HasContents QListQWidget QWidget # 
HasContents QListQWidgetConst QWidget # 
FromContents QListQWidget QWidget # 
Encodable QListQWidget [QWidget] # 

Methods

encode :: [QWidget] -> IO QListQWidget #

Encodable QListQWidgetConst [QWidget] # 
Decodable QListQWidget [QWidget] # 

Methods

decode :: QListQWidget -> IO [QWidget] #

Decodable QListQWidgetConst [QWidget] # 
QListQWidgetValue [QWidget] Source # 
Assignable (Ptr (Ptr QWidget)) QWidget Source # 

Methods

assign :: Ptr (Ptr QWidget) -> QWidget -> IO () #

Decodable (Ptr (Ptr QWidget)) QWidget Source # 

Methods

decode :: Ptr (Ptr QWidget) -> IO QWidget #

cast :: QWidgetPtr this => this -> QWidget Source #

downCastConst :: QWidgetSuperConst a => a -> QWidgetConst Source #

downCast :: QWidgetSuper a => a -> QWidget Source #

newWithParent :: QWidgetPtr arg'1 => arg'1 -> IO QWidget Source #

acceptDrops :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

activateWindow :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

addAction :: (QWidgetPtr arg'1, QActionPtr arg'2) => arg'1 -> arg'2 -> IO () Source #

adjustSize :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

baseSize :: QWidgetValue arg'1 => arg'1 -> IO HSize Source #

childAtPoint :: (QWidgetValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO QWidget Source #

childAtRaw :: QWidgetValue arg'1 => arg'1 -> Int -> Int -> IO QWidget Source #

childrenRect :: QWidgetValue arg'1 => arg'1 -> IO HRect Source #

clearFocus :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

clearMask :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

close :: QWidgetPtr arg'1 => arg'1 -> IO Bool Source #

contentsRect :: QWidgetValue arg'1 => arg'1 -> IO HRect Source #

ensurePolished :: QWidgetValue arg'1 => arg'1 -> IO () Source #

focusProxy :: QWidgetValue arg'1 => arg'1 -> IO QWidget Source #

focusWidget :: QWidgetValue arg'1 => arg'1 -> IO QWidget Source #

font :: QWidgetValue arg'1 => arg'1 -> IO QFont Source #

frameGeometry :: QWidgetValue arg'1 => arg'1 -> IO HRect Source #

frameSize :: QWidgetValue arg'1 => arg'1 -> IO HSize Source #

geometry :: QWidgetValue arg'1 => arg'1 -> IO HRect Source #

grabKeyboard :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

grabMouse :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

hasFocus :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

height :: QWidgetValue arg'1 => arg'1 -> IO Int Source #

heightForWidth :: QWidgetValue arg'1 => arg'1 -> Int -> IO Int Source #

hide :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

insertAction :: (QWidgetPtr arg'1, QActionPtr arg'2, QActionPtr arg'3) => arg'1 -> arg'2 -> arg'3 -> IO () Source #

isActiveWindow :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

isAncestorOf :: (QWidgetValue arg'1, QWidgetPtr arg'2) => arg'1 -> arg'2 -> IO Bool Source #

isEnabled :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

isEnabledTo :: (QWidgetValue arg'1, QWidgetPtr arg'2) => arg'1 -> arg'2 -> IO Bool Source #

isFullScreen :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

isHidden :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

isMaximized :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

isMinimized :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

isModal :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

isVisible :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

isVisibleTo :: (QWidgetValue arg'1, QWidgetPtr arg'2) => arg'1 -> arg'2 -> IO Bool Source #

isWindow :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

layout :: QWidgetValue arg'1 => arg'1 -> IO QLayout Source #

lower :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

mapFrom :: (QWidgetValue arg'1, QWidgetPtr arg'2, QPointValue arg'3) => arg'1 -> arg'2 -> arg'3 -> IO HPoint Source #

mapFromGlobal :: (QWidgetValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO HPoint Source #

mapFromParent :: (QWidgetValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO HPoint Source #

mapTo :: (QWidgetValue arg'1, QWidgetPtr arg'2, QPointValue arg'3) => arg'1 -> arg'2 -> arg'3 -> IO HPoint Source #

mapToGlobal :: (QWidgetValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO HPoint Source #

mapToParent :: (QWidgetValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO HPoint Source #

maximumHeight :: QWidgetValue arg'1 => arg'1 -> IO Int Source #

maximumSize :: QWidgetValue arg'1 => arg'1 -> IO HSize Source #

maximumWidth :: QWidgetValue arg'1 => arg'1 -> IO Int Source #

minimumHeight :: QWidgetValue arg'1 => arg'1 -> IO Int Source #

minimumSize :: QWidgetValue arg'1 => arg'1 -> IO HSize Source #

minimumWidth :: QWidgetValue arg'1 => arg'1 -> IO Int Source #

move :: (QWidgetPtr arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO () Source #

pos :: QWidgetValue arg'1 => arg'1 -> IO HPoint Source #

raise :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

rect :: QWidgetValue arg'1 => arg'1 -> IO HRect Source #

releaseKeyboard :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

releaseMouse :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

removeAction :: (QWidgetPtr arg'1, QActionPtr arg'2) => arg'1 -> arg'2 -> IO () Source #

repaint :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

repaintRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> Int -> Int -> IO () Source #

repaintRect :: (QWidgetPtr arg'1, QRectValue arg'2) => arg'1 -> arg'2 -> IO () Source #

resize :: (QWidgetPtr arg'1, QSizeValue arg'2) => arg'1 -> arg'2 -> IO () Source #

resizeRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> IO () Source #

scrollRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> IO () Source #

scrollRect :: (QWidgetPtr arg'1, QRectValue arg'4) => arg'1 -> Int -> Int -> arg'4 -> IO () Source #

setAcceptDrops :: QWidgetPtr arg'1 => arg'1 -> Bool -> IO () Source #

setAccessibleDescription :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setAccessibleName :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setAutoFillBackground :: QWidgetPtr arg'1 => arg'1 -> Bool -> IO () Source #

setBaseSize :: (QWidgetPtr arg'1, QSizeValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setBaseSizeRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> IO () Source #

setContentsMargins :: (QWidgetPtr arg'1, QMarginsValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setContentsMarginsRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> Int -> Int -> IO () Source #

setDisabled :: QWidgetPtr arg'1 => arg'1 -> Bool -> IO () Source #

setEnabled :: QWidgetPtr arg'1 => arg'1 -> Bool -> IO () Source #

setFixedHeight :: QWidgetPtr arg'1 => arg'1 -> Int -> IO () Source #

setFixedSize :: (QWidgetPtr arg'1, QSizeValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setFixedSizeRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> IO () Source #

setFixedWidth :: QWidgetPtr arg'1 => arg'1 -> Int -> IO () Source #

setFocus :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

setFocusProxy :: (QWidgetPtr arg'1, QWidgetPtr arg'2) => arg'1 -> arg'2 -> IO () Source #

setFont :: (QWidgetPtr arg'1, QFontValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setGeometryRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> Int -> Int -> IO () Source #

setGeometryRect :: (QWidgetPtr arg'1, QRectValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setHidden :: QWidgetPtr arg'1 => arg'1 -> Bool -> IO () Source #

setLayout :: (QWidgetPtr arg'1, QLayoutPtr arg'2) => arg'1 -> arg'2 -> IO () Source #

setMaximumHeight :: QWidgetPtr arg'1 => arg'1 -> Int -> IO () Source #

setMaximumSize :: (QWidgetPtr arg'1, QSizeValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setMaximumSizeRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> IO () Source #

setMaximumWidth :: QWidgetPtr arg'1 => arg'1 -> Int -> IO () Source #

setMinimumHeight :: QWidgetPtr arg'1 => arg'1 -> Int -> IO () Source #

setMinimumSize :: (QWidgetPtr arg'1, QSizeValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setMinimumSizeRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> IO () Source #

setMinimumWidth :: QWidgetPtr arg'1 => arg'1 -> Int -> IO () Source #

setMouseTracking :: QWidgetPtr arg'1 => arg'1 -> Bool -> IO () Source #

setParent :: (QWidgetPtr arg'1, QWidgetPtr arg'2) => arg'1 -> arg'2 -> IO () Source #

setParentWithFlags :: (QWidgetPtr arg'1, QWidgetPtr arg'2, IsQtWindowFlags arg'3) => arg'1 -> arg'2 -> arg'3 -> IO () Source #

setSizeIncrement :: (QWidgetPtr arg'1, QSizeValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setSizeIncrementRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> IO () Source #

setStatusTip :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setStyleSheet :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setTabOrder :: (QWidgetPtr arg'1, QWidgetPtr arg'2) => arg'1 -> arg'2 -> IO () Source #

setToolTip :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setUpdatesEnabled :: QWidgetPtr arg'1 => arg'1 -> Bool -> IO () Source #

setVisible :: QWidgetPtr arg'1 => arg'1 -> Bool -> IO () Source #

setWhatsThis :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setWindowFilePath :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setWindowFlags :: (QWidgetPtr arg'1, IsQtWindowFlags arg'2) => arg'1 -> arg'2 -> IO () Source #

setWindowIconText :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setWindowModified :: QWidgetPtr arg'1 => arg'1 -> Bool -> IO () Source #

setWindowOpacity :: QWidgetPtr arg'1 => arg'1 -> Double -> IO () Source #

setWindowRole :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setWindowState :: (QWidgetPtr arg'1, IsQtWindowStates arg'2) => arg'1 -> arg'2 -> IO () Source #

setWindowTitle :: (QWidgetPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

show :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

showFullScreen :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

showMaximized :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

showMinimized :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

showNormal :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

size :: QWidgetValue arg'1 => arg'1 -> IO HSize Source #

sizeHint :: QWidgetValue arg'1 => arg'1 -> IO HSize Source #

sizeIncrement :: QWidgetValue arg'1 => arg'1 -> IO HSize Source #

stackUnder :: (QWidgetPtr arg'1, QWidgetPtr arg'2) => arg'1 -> arg'2 -> IO () Source #

statusTip :: QWidgetValue arg'1 => arg'1 -> IO String Source #

styleSheet :: QWidgetValue arg'1 => arg'1 -> IO String Source #

toolTip :: QWidgetValue arg'1 => arg'1 -> IO String Source #

underMouse :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

unsetCursor :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

unsetLayoutDirection :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

unsetLocale :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

update :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

updateGeometry :: QWidgetPtr arg'1 => arg'1 -> IO () Source #

updateRaw :: QWidgetPtr arg'1 => arg'1 -> Int -> Int -> Int -> Int -> IO () Source #

updateRect :: (QWidgetPtr arg'1, QRectValue arg'2) => arg'1 -> arg'2 -> IO () Source #

updatesEnabled :: QWidgetValue arg'1 => arg'1 -> IO Bool Source #

whatsThis :: QWidgetValue arg'1 => arg'1 -> IO String Source #

width :: QWidgetValue arg'1 => arg'1 -> IO Int Source #

window :: QWidgetValue arg'1 => arg'1 -> IO QWidget Source #

windowRole :: QWidgetValue arg'1 => arg'1 -> IO String Source #

windowTitle :: QWidgetValue arg'1 => arg'1 -> IO String Source #

x :: QWidgetValue arg'1 => arg'1 -> IO Int Source #

y :: QWidgetValue arg'1 => arg'1 -> IO Int Source #