본문 바로가기
프로그래밍/라이브러리

[QT5] 표준 위젯(QtWidgets 패키지)의 슬롯과 시그널

by 써드아이 2014. 9. 27.

QWidget

* slot


close()

hide()

lower()

raise()

repaint()

setDisabled()

setEnabled()

setFocus()

setHidden()

setStyleSheet()

setVisible()

setWindowModified()

show()

showFullScreen()

showMaximized()

showMinimized()

showNormal()

update()


* signal


customContextMenuRequested()

windowIconChanged()

windowIconTextChanged()

windowTitleChanged()



QApplication

* slot

aboutQt()

autoMaximizeThreshold()

autoSipEnabled()

closeAllWindows()

setAutoMaximizeThreshold()

setAutoSipEnabled()

setStyleSheet()


* signal


focusChanged()


QAbstractButton

* slot


animateClick()

click()

setChecked()

setIconSize()

toggle()


* signal


clicked()

pressed()

released()

toggled()


QPushButton

* slots


showMenu()


* signal


QRadioButton

* slots

* signal


QCheckBox

* slots

* signal


stateChanged()


QToolButton

* slot


setDefaultAction()

setToolButtonStyle()

showMenu()


* signal


triggered()


QLabel

* slots

clear()

setMovie()

setNum()

setPicture()

setPixmap()

setText()


* signal


linkActivated()

linkHovered()


QLCDNumber

* slots


display()

setBinMode()

setDecMode()

setHexMode()

setOctMode()

setSmallDecimalPoint()


* signal


overflow()


QProgressBar

* slot


reset()

setMaximum()

setMinimum()

setOrientation()

setRange()

setValue()


* signal


valueChanged()


QTextBrowser


* slot


backward()

forward()

home()

reload()

setSource()


* signal


anchorClicked()

backwardAvailable()

forwardAvailable()

highlighted()

historyChanged()

sourceChanged()



QLineEdit

* slot


clear()

copy()

cut()

paste()

redo()

selectAll()

setText()

undo()


* signal


cursorPositionChanged()

editingFinished()

returnPressed()

selectionChanged()

textChanged()

textEdited()


QTextEdit

* slot


append()

clear()

copy()

cut()

insertHtml()

insertPlainText()

paste()

redo()

scrollToAnchor()

selectAll()

setAlignment()

setCurrentFont()

setFontItalic()

setFontPointSize()

setFontUnderline()

setFontWeight()


setHtml()

setPlainText()

setTect()

setTextBackgroundColor()

setTextColor()

undo()

zoomIn()

zoomOut()


* signal

copyAvailable()

currentCharFormatChanged()

cursorPositionChanged()

redoAvailable()

selectionChanged()

textChanged()

undoAvailable()


QComboBox

* slot

clear()

clearEditText()

setCurrentIndex()

setCurrentText()

setEditText()


* signal


activated()

currentIndexChanged()

currentTectChanged()

editTextChanged()

editTextChanged()

highlighted()


"""

QListBox

* slot


clear()

ensureCurrentVisible()

clearSelection()

selectAll()

invertSelection()


* signal


highlighted()

selected()

selectionChanged()

currentChanged()

clicked()

doubleClicked()

pressed()

returnPressed()

contextMenuRequested()

onItem()

onViewport()

"""


QAbstractSlider

* slot


setOrientation()

setRange()

setValue()


* signal


actionTriggered()

rangeChanged()

sliderMoved()

sliderPressed()

sliderReleased()

valueChnaged()


QSlider

QScrollBar

QDial

* slot


setNotchesVisible()

setWrapping()


QAbstractSpinBox

* slot


clear()

selectAll()

stepDown()

stepUp()


* signal


editingFinished()


QSpinBox

* slot


setValue()


* signal


valueChanged()


QMainWindow

* slot


setAnimated()

setDockNestingEnabled()


* signal

iconSizeChanged()

toolButtonStyleChanged()


QMenuBar

* slot


setVisible()


* signal


hovered()

triggered()


QMenu

* slot


* signal


aboutToHide()

aboutToShow()

hovered()

triggered()


QAction

* slot


hover()

setChecked()

setDisabled()

setEnabled()

setVisible()

toggle()

trigger()


* signal


changed()

hovered()

toggled()

triggered()


QToolBar

* slot


setIconSize()

setToolButtonStyle()


* signal


actionTriggered()

allowedAreasChanged()

iconSizeChanged()

movableChanged()

orientationChanged()

toolButtonStyleChanged()

topLevelChanged()

visibilityChanged()


QStatusBar

* slot


clearMessage()

showMessage()


* signal


messageChanged()


QDockWidget

* slot


* signal


allowedAreasChanged()

dockLocationChanged()

featuresChanged()

topLevelChanged()

visibilityChanged()


QDialog

* slot


accept()

done()

exec()

open()

reject()


* signal


accepted()

finished()

rejected()


QColorDialog

* slot

* signal


colorSelected()

currentColorChanged()


QFileDialog

* slot

* signal


currentChanged()

currentUrlChanged()

directoryEntered()

directoryUrlEntered()

fileSelected()

urlSelected()


QFontDialog

* slot

* signal


currentFontChanged()

fontSelected()


QInputDialog

* slot

* signal


doubleValueChanged()

doubleValueSelected()

intValueChanged()

intValueSelected()

textValueChanged()

textValueSelected()


QMessageBox

* slot


exec()


* signal


buttonClicked()



QPrinterDialog

* slot

* signal


QPageSetupDialog

* slot

* signal


QProgressDialog

* slot

cancel()

reset()

setCancelButtonText()

setLabelText()

setMaximum()

setMinimum()

setMinimumDuration()

setRange()

setValue()


* signal


canceled()


QErrMessage

* slot

* signal



QAbstractItemModel

QAbstractListModel

QAbstractProxyModel

QAbstractTableModel

QDirModel

QProxyModel


QAbstractItemView

* slot


clearSelection()

edit()

reset()

scrollToBottom()

scrollToTop()

selectAll()

setCurrentIndex()

setRootIndex()

update()


* signal


activated()

clicked()

doubleClicked()

entered()

pressed

viewportEntered()


QColumnView

* slot

* signal


updateReviewWidget()


QHeaderView

* slot


headerDataChanged()

setOffset()

setOffsetToLastSection()

setOffsetToSectionPosition()


* signal


geometriesChanged()

sectionClicked()

sectionCountChanged()

sectionDoubleClicked()

sectionEntered()

sectionHandleDoubleClicked()

sectionMoved()

sectionPressed()

sectionResized()

sortIndicatorChanged()


QListView

* slot

* signal


indexesMoved()


QListWidget with QListWidgetItem

* slot


clear()

scrollToItem()


* signal


currentItemChanged()

currentRowChanged()

currentTextChanged()

itemActivated()

itemChanged()

itemClicked()

itemDoubleClicked()

itemEntered()

itemPressed()

itemSelelctionChanged()


QTableView

* slot


hideColumn()

hideRow()

resizeColumnToContents()

resizeRowToContents()

selectColumn()

selectRow()

setShowGrid()

showColumn()

showRow()


* signal


QTableWidget with QTableWidgetItem

* slot


clear()

clearContents()

insertColumn()

insertRow()

removeColumn()

removeRow()

scrollToItem()


* signal


cellActivated()

cellChanged()

cellClikced()

cellDoubleClicked()

cellEntered()

cellPressed()

currentCellChanged()

itemActivated()

itemChanged()

itemClicked()

itemDoubleClicked()

itemEntered()

itemPressed()

itemSelectionChanged()


QTreeView

* slot


collapse()

collapseAll()

expand()

expandAll()

expanedToDepth()

hideColumn()

resizeColumnToContents()

showColumn()


* signal


collapsed()

expanded()


QTreeWidget with QTreeWidgetItem

* slot


collapseItem()

expandItem()

clear()

scrollToItem()


* signal


currentItemChanged()

itemActivated()

itemChanged()

itemClicked()

itemCollapsed()

itemDoubleClicked()

itemEntered()

itemExpaned()

itemPressed()

itemSelectionChanged()



QAbstractItemDelegate

* slot

* signal


closeEditor()

commitData()

sizeHintChanged()