Class: QgsColorTextWidget

class qgis.gui.QgsColorTextWidget(parent: QWidget = None)

Bases: qgis._gui.QgsColorWidget

Construct a new color line edit widget.

Parameters:parent – parent QWidget for the widget

A line edit widget which displays colors as text and accepts string representations of colors.

class ColorTextFormat

Bases: int

baseClass

alias of QgsColorTextWidget

HexRgb = 0
HexRgbA = 1
Rgb = 2
Rgba = 3
actionEvent()
alterColor()
changeEvent()
childEvent()
closeEvent()
componentRange()
componentValue()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
hue()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent(self, event: QResizeEvent)
sender()
senderSignalIndex()
setColor(self, color: Union[QColor, Qt.GlobalColor, QGradient], emitSignals: bool = False)
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
transparentBackground()
updateMicroFocus()
wheelEvent()