qtah-qt5-0.3.0: Qt bindings for Haskell

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.Qtah.Widgets.QMenu

Documentation

class QMenuValue a where Source #

Minimal complete definition

withQMenuPtr

Methods

withQMenuPtr :: a -> (QMenuConst -> IO b) -> IO b Source #

Instances

QMenuConstPtr a => QMenuValue a Source # 

Methods

withQMenuPtr :: a -> (QMenuConst -> IO b) -> IO b Source #

class (QMenuConstPtr this, QWidgetPtr this) => QMenuPtr this where Source #

Minimal complete definition

toQMenu

Methods

toQMenu :: this -> QMenu Source #

Instances

cast :: QMenuPtr this => this -> QMenu Source #

downCastConst :: QMenuSuperConst a => a -> QMenuConst Source #

downCast :: QMenuSuper a => a -> QMenu Source #

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

newWithTitle :: QStringValue arg'1 => arg'1 -> IO QMenu Source #

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

actionAt :: (QMenuValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO QAction Source #

actionGeometry :: (QMenuValue arg'1, QActionPtr arg'2) => arg'1 -> arg'2 -> IO HRect Source #

activeAction :: QMenuValue arg'1 => arg'1 -> IO QAction Source #

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

addMenu :: (QMenuPtr arg'1, QMenuPtr arg'2) => arg'1 -> arg'2 -> IO QAction Source #

addNewAction :: (QMenuPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO QAction Source #

addNewMenu :: (QMenuPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO QMenu Source #

addSeparator :: QMenuPtr arg'1 => arg'1 -> IO QAction Source #

clear :: QMenuPtr arg'1 => arg'1 -> IO () Source #

defaultAction :: QMenuValue arg'1 => arg'1 -> IO QAction Source #

exec :: QMenuPtr arg'1 => arg'1 -> IO QAction Source #

execAt :: (QMenuPtr arg'1, QPointValue arg'2, QActionPtr arg'3) => arg'1 -> arg'2 -> arg'3 -> IO QAction Source #

hideTearOffMenu :: QMenuPtr arg'1 => arg'1 -> IO () Source #

insertMenu :: (QMenuPtr arg'1, QActionPtr arg'2, QMenuPtr arg'3) => arg'1 -> arg'2 -> arg'3 -> IO QAction Source #

insertSeparator :: (QMenuPtr arg'1, QActionPtr arg'2) => arg'1 -> arg'2 -> IO QAction Source #

isEmpty :: QMenuValue arg'1 => arg'1 -> IO Bool Source #

isTearOffEnabled :: QMenuValue arg'1 => arg'1 -> IO Bool Source #

menuAction :: QMenuValue arg'1 => arg'1 -> IO QAction Source #

popup :: (QMenuPtr arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO () Source #

popupAction :: (QMenuPtr arg'1, QPointValue arg'2, QActionPtr arg'3) => arg'1 -> arg'2 -> arg'3 -> IO () Source #

setActiveAction :: (QMenuPtr arg'1, QActionPtr arg'2) => arg'1 -> arg'2 -> IO () Source #

setDefaultAction :: (QMenuPtr arg'1, QActionPtr arg'2) => arg'1 -> arg'2 -> IO () Source #

setSeparatorsCollapsible :: QMenuPtr arg'1 => arg'1 -> Bool -> IO () Source #

setTearOffEnabled :: QMenuPtr arg'1 => arg'1 -> Bool -> IO () Source #

setTitle :: (QMenuPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

title :: QMenuValue arg'1 => arg'1 -> IO String Source #

aboutToHideSignal :: QMenuPtr object => Signal object (IO ()) Source #

aboutToShowSignal :: QMenuPtr object => Signal object (IO ()) Source #

hoveredSignal :: QMenuPtr object => Signal object (QAction -> IO ()) Source #

triggeredSignal :: QMenuPtr object => Signal object (QAction -> IO ()) Source #