PythonQt.QtGui.QDateTimeEdit
QDateTimeEdit
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description

QDateTimeEdit allows the user to edit dates by using the keyboard or the arrow keys to increase and decrease date and time values. The arrow keys can be used to move from section to section within the QDateTimeEdit box. Dates and times appear in accordance with the format set; see setDisplayFormat().
QDateTimeEdit *dateEdit = new QDateTimeEdit(QDate::currentDate());
dateEdit->setMinimumDate(QDate::currentDate().addDays(-365));
dateEdit->setMaximumDate(QDate::currentDate().addDays(365));
dateEdit->setDisplayFormat("yyyy.MM.dd");
Here we've created a new QDateTimeEdit object initialized with today's date, and restricted the valid date range to today plus or minus 365 days. We've set the order to month, day, year.
The range of valid values for a QDateTimeEdit is controlled by the properties minimumDateTime, maximumDateTime, and their respective date and time components. By default, any date-time from the start of 100 CE to the end of 9999 CE is valid.
Using a Pop-up Calendar Widget
QDateTimeEdit can be configured to allow a QCalendarWidget to be used to select dates. This is enabled by setting the calendarPopup property. Additionally, you can supply a custom calendar widget for use as the calendar pop-up by calling the setCalendarWidget() function. The existing calendar widget can be retrieved with calendarWidget().
Keyboard Tracking
When keyboard tracking is enabled (the default), every keystroke of editing a field triggers signals for value changes.
When the allowed range is narrower than some time interval whose end it straddles, keyboard tracking prevents the user editing the date or time to access the later part of the interval. For example, for a range from 29.04.2020 to 02.05.2020 and an initial date of 30.04.2020, the user can change neither the month (May 30th is outside the range) nor the day (April 2nd is outside the range).
When keyboard tracking is disabled, changes are only signalled when focus leaves the text field after edits have modified the content. This allows the user to edit via an invalid date-time to reach a valid one.
Source: https://doc.qt.io/archives/qt-5.15/qdatetimeedit.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
AdaptiveDecimalStepType |
attribute | Any |
(shared captured text) |
AmPmSection |
attribute | Any |
(shared captured text) |
ButtonSymbols |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
CorrectToNearestValue |
attribute | Any |
(shared captured text) |
CorrectToPreviousValue |
attribute | Any |
(shared captured text) |
CorrectionMode |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
DateSections_Mask |
attribute | Any |
(shared captured text) |
DaySection |
attribute | Any |
(shared captured text) |
DefaultStepType |
attribute | Any |
(shared captured text) |
DrawChildren |
attribute | Any |
(shared captured text) |
DrawWindowBackground |
attribute | Any |
(shared captured text) |
HourSection |
attribute | Any |
(shared captured text) |
IgnoreMask |
attribute | Any |
(shared captured text) |
MSecSection |
attribute | Any |
(shared captured text) |
MinuteSection |
attribute | Any |
(shared captured text) |
MonthSection |
attribute | Any |
(shared captured text) |
NoButtons |
attribute | Any |
(shared captured text) |
NoSection |
attribute | Any |
(shared captured text) |
PaintDeviceMetric |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
PdmDepth |
attribute | Any |
(shared captured text) |
PdmDevicePixelRatio |
attribute | Any |
(shared captured text) |
PdmDevicePixelRatioScaled |
attribute | Any |
(shared captured text) |
PdmDpiX |
attribute | Any |
(shared captured text) |
PdmDpiY |
attribute | Any |
(shared captured text) |
PdmHeight |
attribute | Any |
(shared captured text) |
PdmHeightMM |
attribute | Any |
(shared captured text) |
PdmNumColors |
attribute | Any |
(shared captured text) |
PdmPhysicalDpiX |
attribute | Any |
(shared captured text) |
PdmPhysicalDpiY |
attribute | Any |
(shared captured text) |
PdmWidth |
attribute | Any |
(shared captured text) |
PdmWidthMM |
attribute | Any |
(shared captured text) |
PlusMinus |
attribute | Any |
(shared captured text) |
RenderFlag |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
RenderFlags |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
SecondSection |
attribute | Any |
(shared captured text) |
Section |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
Sections |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
StepDownEnabled |
attribute | Any |
(shared captured text) |
StepEnabled |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
StepEnabledFlag |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
StepNone |
attribute | Any |
(shared captured text) |
StepType |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
StepUpEnabled |
attribute | Any |
(shared captured text) |
TimeSections_Mask |
attribute | Any |
(shared captured text) |
UpDownArrows |
attribute | Any |
(shared captured text) |
YearSection |
attribute | Any |
(shared captured text) |
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
accelerated |
attribute | Any |
(shared captured text) |
acceptDrops |
attribute | Any |
(shared captured text) |
acceptableInput |
attribute | Any |
(shared captured text) |
accessibleDescription |
attribute | Any |
(shared captured text) |
accessibleName |
attribute | Any |
(shared captured text) |
actionEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
actions |
function | (self) -> tuple |
X.actions() -> tuple (shared captured text) |
activateWindow |
function | (self) -> Any |
(shared captured text) |
addAction |
function | (self, action: Any) -> Any |
(shared captured text) |
addActions |
function | (self, actions: Any) -> Any |
(shared captured text) |
adjustSize |
function | (self) -> Any |
(shared captured text) |
alignment |
attribute | Any |
(shared captured text) |
autoFillBackground |
attribute | Any |
(shared captured text) |
backgroundRole |
function | (self) -> Any |
(shared captured text) |
backingStore |
function | (self) -> Any |
X.backingStore() -> PythonQt.QtGui.QBackingStore (shared captured text) |
baseSize |
attribute | QSize |
(shared captured text) |
blockSignals |
function | (self, b: Any) -> bool |
X.blockSignals(b) -> bool (shared captured text) |
buttonSymbols |
attribute | Any |
(shared captured text) |
calendarPopup |
attribute | bool |
This property holds the current calendar pop-up show mode. |
calendarWidget |
function | (self) -> Any |
X.calendarWidget() -> PythonQt.QtGui.QCalendarWidget |
changeEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
childAt |
function | (self, x: Any, y: Any) -> Any |
X.childAt(x, y) -> PythonQt.QtGui.QWidget (shared captured text) |
childEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
children |
function | (self) -> tuple |
X.children() -> tuple (shared captured text) |
childrenRect |
attribute | QRect |
(shared captured text) |
childrenRegion |
attribute | QRegion |
(shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
clear |
function | (self) -> None |
Reimplements: [QAbstractSpinBox::clear](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#clear)(). |
clearFocus |
function | (self) -> Any |
(shared captured text) |
clearMask |
function | (self) -> Any |
(shared captured text) |
clearMaximumDate |
function | (self) -> None |
|
clearMaximumDateTime |
function | (self) -> None |
|
clearMaximumTime |
function | (self) -> None |
|
clearMinimumDate |
function | (self) -> None |
|
clearMinimumDateTime |
function | (self) -> None |
|
clearMinimumTime |
function | (self) -> None |
|
close |
function | (self) -> bool |
X.close() -> bool (shared captured text) |
closeEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
colorCount |
function | (self) -> int |
X.colorCount() -> int (shared captured text) |
connect |
function | (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool |
X.connect(signal, receiver, slot, type) -> bool (shared captured text) |
contentsMargins |
function | (self) -> Any |
X.contentsMargins() -> PythonQt.QtGui.QMargins (shared captured text) |
contentsRect |
function | (self) -> Any |
X.contentsRect() -> PythonQt.QtCore.QRect (shared captured text) |
contextMenuEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
contextMenuPolicy |
attribute | Any |
(shared captured text) |
correctionMode |
attribute | Any |
(shared captured text) |
createWinId |
function | (self) -> Any |
(shared captured text) |
createWindowContainer |
function | (self, window: Any, parent: Any, arg2: flags) -> Any |
X.createWindowContainer(window, parent, flags) -> PythonQt.QtGui.QWidget (shared captured text) |
currentSection |
attribute | Any |
This property holds the current section of the spinbox. |
currentSectionIndex |
attribute | int |
This property holds the current section index of the spinbox. |
cursor |
attribute | QCursor |
(shared captured text) |
customContextMenuRequested |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.customContextMenuRequested; argument details are not documented. |
customEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
date |
attribute | QDate |
This property holds the [QDate](https://doc.qt.io/archives/qt-5.15/qdate.html) that is set in the widget. |
dateChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.dateChanged; argument details are not documented. |
dateTime |
attribute | QDateTime |
This property holds the [QDateTime](https://doc.qt.io/archives/qt-5.15/qdatetime.html) that is set in the [QDateTimeEdit](https://doc.qt.io/archives/qt-5.15/qdatetimeedit.html). |
dateTimeChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.dateTimeChanged; argument details are not documented. |
dateTimeFromText |
function | (self, text: str) -> Any |
X.dateTimeFromText(text) -> PythonQt.QtCore.QDateTime |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
deleteLater |
function | (self) -> Any |
(shared captured text) |
depth |
function | (self) -> int |
X.depth() -> int (shared captured text) |
destroy |
function | (self, destroyWindow: Any, destroySubWindows: Any) -> Any |
X.destroy(destroyWindow, destroySubWindows) (shared captured text) |
destroyed |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.destroyed; argument details are not documented. |
devType |
function | (self) -> int |
X.devType() -> int (shared captured text) |
devicePixelRatio |
function | (self) -> int |
X.devicePixelRatio() -> int (shared captured text) |
devicePixelRatioF |
function | (self) -> float |
X.devicePixelRatioF() -> float (shared captured text) |
devicePixelRatioFScale |
function | (self) -> float |
X.devicePixelRatioFScale() -> float (shared captured text) |
disconnect |
function | (self, signal: Any, receiver: Any, slot: Any) -> bool |
X.disconnect(signal, receiver, slot) -> bool (shared captured text) |
displayFormat |
attribute | str |
This property holds the format used to display the time/date of the date time edit. |
displayedSections |
attribute | Any |
This property holds the currently displayed fields of the date time edit. |
dragEnterEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dragLeaveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dragMoveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dropEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dumpObjectInfo |
function | (self) -> Any |
(shared captured text) |
dumpObjectTree |
function | (self) -> Any |
(shared captured text) |
dynamicPropertyNames |
function | (self) -> Any |
(shared captured text) |
editingFinished |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.editingFinished; argument details are not documented. |
effectiveWinId |
function | (self) -> int |
X.effectiveWinId() -> int (shared captured text) |
enabled |
attribute | Any |
(shared captured text) |
ensurePolished |
function | (self) -> Any |
(shared captured text) |
enterEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
event |
function | (self, event: Any) -> bool |
X.event(event) -> bool |
eventFilter |
function | (self, watched: Any, event: Any) -> bool |
X.eventFilter(watched, event) -> bool (shared captured text) |
findChild |
function | (self, type: Any, name: Any) -> Any |
X.findChild(type, name) -> PythonQt.private.QObject (shared captured text) |
findChildren |
function | (self, type: Any, name: Any) -> tuple |
X.findChildren(type, name) -> tuple (shared captured text) |
fixup |
function | (self, input: str) -> None |
Reimplements: [QAbstractSpinBox::fixup](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#fixup)(QString \&input) const. |
focus |
attribute | Any |
(shared captured text) |
focusInEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractSpinBox::focusInEvent](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#focusInEvent)(QFocusEvent *event). |
focusNextChild |
function | (self) -> bool |
X.focusNextChild() -> bool (shared captured text) |
focusNextPrevChild |
function | (self, next: bool) -> bool |
X.focusNextPrevChild(next) -> bool |
focusOutEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
focusPolicy |
attribute | Any |
(shared captured text) |
focusPreviousChild |
function | (self) -> bool |
X.focusPreviousChild() -> bool (shared captured text) |
focusProxy |
function | (self) -> Any |
X.focusProxy() -> PythonQt.QtGui.QWidget (shared captured text) |
focusWidget |
function | (self) -> Any |
X.focusWidget() -> PythonQt.QtGui.QWidget (shared captured text) |
font |
attribute | QFont |
(shared captured text) |
fontInfo |
function | (self) -> Any |
X.fontInfo() -> PythonQt.QtGui.QFontInfo (shared captured text) |
fontMetrics |
function | (self) -> Any |
X.fontMetrics() -> PythonQt.QtGui.QFontMetrics (shared captured text) |
foregroundRole |
function | (self) -> Any |
(shared captured text) |
frame |
attribute | Any |
(shared captured text) |
frameGeometry |
attribute | QRect |
(shared captured text) |
frameSize |
attribute | QSize |
(shared captured text) |
fullScreen |
attribute | Any |
(shared captured text) |
geometry |
attribute | QRect |
(shared captured text) |
grab |
function | (self, rectangle: Any) -> Any |
X.grab(rectangle) -> PythonQt.QtGui.QPixmap (shared captured text) |
grabGesture |
function | (self, type: Any, arg1: flags) -> Any |
X.grabGesture(type, flags) (shared captured text) |
grabKeyboard |
function | (self) -> Any |
(shared captured text) |
grabMouse |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
grabShortcut |
function | (self, key: Any, context: Any) -> int |
X.grabShortcut(key, context) -> int (shared captured text) |
graphicsEffect |
function | (self) -> Any |
X.graphicsEffect() -> PythonQt.QtGui.QGraphicsEffect (shared captured text) |
graphicsProxyWidget |
function | (self) -> Any |
X.graphicsProxyWidget() -> PythonQt.QtGui.QGraphicsProxyWidget (shared captured text) |
hasAcceptableInput |
function | (self) -> bool |
X.hasAcceptableInput() -> bool (shared captured text) |
hasFocus |
function | (self) -> bool |
X.hasFocus() -> bool (shared captured text) |
hasFrame |
function | (self) -> bool |
X.hasFrame() -> bool (shared captured text) |
hasHeightForWidth |
function | (self) -> bool |
X.hasHeightForWidth() -> bool (shared captured text) |
hasMouseTracking |
function | (self) -> bool |
X.hasMouseTracking() -> bool (shared captured text) |
height |
attribute | Any |
(shared captured text) |
heightForWidth |
function | (self, arg__1: Any) -> int |
X.heightForWidth(arg__1) -> int (shared captured text) |
heightMM |
function | (self) -> int |
X.heightMM() -> int (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
hide |
function | (self) -> Any |
(shared captured text) |
hideEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
initPainter |
function | (self, painter: Any) -> Any |
(shared captured text) |
initStyleOption |
function | (self, option: Any) -> None |
Initialize option with the values from this QDataTimeEdit. |
inputMethodEvent |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
inputMethodHints |
attribute | Any |
(shared captured text) |
inputMethodQuery |
function | (self, arg__1: Any) -> Any |
X.inputMethodQuery(arg__1) -> object (shared captured text) |
insertAction |
function | (self, before: Any, action: Any) -> Any |
X.insertAction(before, action) (shared captured text) |
insertActions |
function | (self, before: Any, actions: Any) -> Any |
X.insertActions(before, actions) (shared captured text) |
installEventFilter |
function | (self, filterObj: Any) -> Any |
(shared captured text) |
interpretText |
function | (self) -> Any |
(shared captured text) |
isAccelerated |
function | (self) -> bool |
X.isAccelerated() -> bool (shared captured text) |
isActiveWindow |
attribute | Any |
(shared captured text) |
isAncestorOf |
function | (self, child: Any) -> bool |
X.isAncestorOf(child) -> bool (shared captured text) |
isEnabled |
function | (self) -> bool |
X.isEnabled() -> bool (shared captured text) |
isEnabledTo |
function | (self, arg__1: Any) -> bool |
X.isEnabledTo(arg__1) -> bool (shared captured text) |
isFullScreen |
function | (self) -> bool |
X.isFullScreen() -> bool (shared captured text) |
isGroupSeparatorShown |
function | (self) -> bool |
X.isGroupSeparatorShown() -> bool (shared captured text) |
isHidden |
function | (self) -> bool |
X.isHidden() -> bool (shared captured text) |
isLeftToRight |
function | (self) -> bool |
X.isLeftToRight() -> bool (shared captured text) |
isMaximized |
function | (self) -> bool |
X.isMaximized() -> bool (shared captured text) |
isMinimized |
function | (self) -> bool |
X.isMinimized() -> bool (shared captured text) |
isModal |
function | (self) -> bool |
X.isModal() -> bool (shared captured text) |
isReadOnly |
function | (self) -> bool |
X.isReadOnly() -> bool (shared captured text) |
isRightToLeft |
function | (self) -> bool |
X.isRightToLeft() -> bool (shared captured text) |
isSignalConnected |
function | (self, signal: Any) -> bool |
X.isSignalConnected(signal) -> bool (shared captured text) |
isVisible |
function | (self) -> bool |
X.isVisible() -> bool (shared captured text) |
isVisibleTo |
function | (self, arg__1: Any) -> bool |
X.isVisibleTo(arg__1) -> bool (shared captured text) |
isWidgetType |
function | (self) -> bool |
X.isWidgetType() -> bool (shared captured text) |
isWindow |
function | (self) -> bool |
X.isWindow() -> bool (shared captured text) |
isWindowModified |
function | (self) -> bool |
X.isWindowModified() -> bool (shared captured text) |
isWindowType |
function | (self) -> bool |
X.isWindowType() -> bool (shared captured text) |
keyPressEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractSpinBox::keyPressEvent](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#keyPressEvent)(QKeyEvent *event). |
keyReleaseEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
keyboardGrabber |
function | (self) -> Any |
X.keyboardGrabber() -> PythonQt.QtGui.QWidget (shared captured text) |
keyboardTracking |
attribute | Any |
(shared captured text) |
killTimer |
function | (self, id: Any) -> Any |
(shared captured text) |
layout |
function | (self) -> Any |
X.layout() -> PythonQt.QtGui.QLayout (shared captured text) |
layoutDirection |
attribute | Any |
(shared captured text) |
leaveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
lineEdit |
function | (self) -> Any |
X.lineEdit() -> PythonQt.QtGui.QLineEdit (shared captured text) |
locale |
attribute | QLocale |
(shared captured text) |
logicalDpiX |
function | (self) -> int |
X.logicalDpiX() -> int (shared captured text) |
logicalDpiY |
function | (self) -> int |
X.logicalDpiY() -> int (shared captured text) |
lower |
function | (self) -> Any |
(shared captured text) |
mapFrom |
function | (self, arg__1: Any, arg__2: Any) -> Any |
X.mapFrom(arg__1, arg__2) -> PythonQt.QtCore.QPoint (shared captured text) |
mapFromGlobal |
function | (self, arg__1: Any) -> Any |
X.mapFromGlobal(arg__1) -> PythonQt.QtCore.QPoint (shared captured text) |
mapFromParent |
function | (self, arg__1: Any) -> Any |
X.mapFromParent(arg__1) -> PythonQt.QtCore.QPoint (shared captured text) |
mapTo |
function | (self, arg__1: Any, arg__2: Any) -> Any |
X.mapTo(arg__1, arg__2) -> PythonQt.QtCore.QPoint (shared captured text) |
mapToGlobal |
function | (self, arg__1: Any) -> Any |
X.mapToGlobal(arg__1) -> PythonQt.QtCore.QPoint (shared captured text) |
mapToParent |
function | (self, arg__1: Any) -> Any |
X.mapToParent(arg__1) -> PythonQt.QtCore.QPoint (shared captured text) |
mask |
function | (self) -> Any |
X.mask() -> PythonQt.QtGui.QRegion (shared captured text) |
maximized |
attribute | Any |
(shared captured text) |
maximumDate |
attribute | QDate |
This property holds the maximum date of the date time edit. |
maximumDateTime |
attribute | QDateTime |
This property holds the maximum datetime of the date time edit. |
maximumHeight |
attribute | Any |
(shared captured text) |
maximumSize |
attribute | QSize |
(shared captured text) |
maximumTime |
attribute | QTime |
This property holds the maximum time of the date time edit. |
maximumWidth |
attribute | Any |
(shared captured text) |
metaObject |
function | (self) -> Any |
X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text) |
metric |
function | (self, arg__1: Any) -> int |
X.metric(arg__1) -> int (shared captured text) |
minimized |
attribute | Any |
(shared captured text) |
minimumDate |
attribute | QDate |
This property holds the minimum date of the date time edit. |
minimumDateTime |
attribute | QDateTime |
This property holds the minimum datetime of the date time edit. |
minimumHeight |
attribute | Any |
(shared captured text) |
minimumSize |
attribute | QSize |
(shared captured text) |
minimumSizeHint |
attribute | QSize |
(shared captured text) |
minimumTime |
attribute | QTime |
This property holds the minimum time of the date time edit. |
minimumWidth |
attribute | Any |
(shared captured text) |
modal |
attribute | Any |
(shared captured text) |
mouseDoubleClickEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
mouseGrabber |
function | (self) -> Any |
X.mouseGrabber() -> PythonQt.QtGui.QWidget (shared captured text) |
mouseMoveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
mousePressEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractSpinBox::mousePressEvent](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#mousePressEvent)(QMouseEvent *event). |
mouseReleaseEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
mouseTracking |
attribute | Any |
(shared captured text) |
move |
function | (self, x: Any, y: Any) -> Any |
X.move(x, y) (shared captured text) |
moveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
moveToThread |
function | (self, thread: Any) -> Any |
(shared captured text) |
nativeEvent |
function | (self, eventType: Any, message: Any, result: Any) -> bool |
X.nativeEvent(eventType, message, result) -> bool (shared captured text) |
nativeParentWidget |
function | (self) -> Any |
X.nativeParentWidget() -> PythonQt.QtGui.QWidget (shared captured text) |
nextInFocusChain |
function | (self) -> Any |
X.nextInFocusChain() -> PythonQt.QtGui.QWidget (shared captured text) |
normalGeometry |
attribute | QRect |
(shared captured text) |
objectName |
attribute | Any |
(shared captured text) |
objectNameChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.objectNameChanged; argument details are not documented. |
overrideWindowFlags |
function | (self, type: Any) -> Any |
(shared captured text) |
overrideWindowState |
function | (self, state: Any) -> Any |
(shared captured text) |
paintEngine |
function | (self) -> Any |
X.paintEngine() -> PythonQt.QtGui.QPaintEngine (shared captured text) |
paintEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractSpinBox::paintEvent](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#paintEvent)(QPaintEvent *event). |
paintingActive |
function | (self) -> bool |
X.paintingActive() -> bool (shared captured text) |
palette |
attribute | QPalette |
(shared captured text) |
parent |
function | (self) -> Any |
X.parent() -> PythonQt.private.QObject (shared captured text) |
parentWidget |
function | (self) -> Any |
X.parentWidget() -> PythonQt.QtGui.QWidget (shared captured text) |
physicalDpiX |
function | (self) -> int |
X.physicalDpiX() -> int (shared captured text) |
physicalDpiY |
function | (self) -> int |
X.physicalDpiY() -> int (shared captured text) |
pos |
attribute | QPoint |
(shared captured text) |
previousInFocusChain |
function | (self) -> Any |
X.previousInFocusChain() -> PythonQt.QtGui.QWidget (shared captured text) |
property |
function | (self, name: Any) -> Any |
X.property(name) -> object (shared captured text) |
raise_ |
function | (self) -> Any |
Native spelling: raise; access it through getattr on the native object. (shared captured text) |
readOnly |
attribute | Any |
(shared captured text) |
rect |
attribute | QRect |
(shared captured text) |
redirected |
function | (self, offset: Any) -> Any |
X.redirected(offset) -> PythonQt.QtGui.QPaintDevice (shared captured text) |
releaseKeyboard |
function | (self) -> Any |
(shared captured text) |
releaseMouse |
function | (self) -> Any |
(shared captured text) |
releaseShortcut |
function | (self, id: Any) -> Any |
(shared captured text) |
removeAction |
function | (self, action: Any) -> Any |
(shared captured text) |
removeEventFilter |
function | (self, obj: Any) -> Any |
(shared captured text) |
render |
function | (self, target: Any, targetOffset: Any, sourceRegion: Any, renderFlags: Any) -> Any |
X.render(target, targetOffset, sourceRegion, renderFlags) (shared captured text) |
repaint |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.repaint(x, y, w, h) (shared captured text) |
resize |
function | (self, w: Any, h: Any) -> Any |
X.resize(w, h) (shared captured text) |
resizeEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
restoreGeometry |
function | (self, geometry: Any) -> bool |
X.restoreGeometry(geometry) -> bool (shared captured text) |
saveGeometry |
function | (self) -> Any |
X.saveGeometry() -> PythonQt.QtCore.QByteArray (shared captured text) |
scroll |
function | (self, dx: Any, dy: Any, arg__3: Any) -> Any |
X.scroll(dx, dy, arg__3) (shared captured text) |
sectionAt |
function | (self, index: int) -> Any |
Returns the Section at index. |
sectionCount |
attribute | int |
This property holds the number of sections displayed. |
sectionText |
function | (self, section: Any) -> str |
X.sectionText(section) -> str |
selectAll |
function | (self) -> Any |
(shared captured text) |
sender |
function | (self) -> Any |
X.sender() -> PythonQt.private.QObject (shared captured text) |
senderSignalIndex |
function | (self) -> int |
X.senderSignalIndex() -> int (shared captured text) |
setAccelerated |
function | (self, on: Any) -> Any |
(shared captured text) |
setAcceptDrops |
function | (self, on: Any) -> Any |
(shared captured text) |
setAccessibleDescription |
function | (self, description: Any) -> Any |
(shared captured text) |
setAccessibleName |
function | (self, name: Any) -> Any |
(shared captured text) |
setAlignment |
function | (self, arg0: flag) -> Any |
(shared captured text) |
setAttribute |
function | (self, arg__1: Any, on: Any) -> Any |
X.setAttribute(arg__1, on) (shared captured text) |
setAutoFillBackground |
function | (self, enabled: Any) -> Any |
(shared captured text) |
setBackgroundRole |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setBaseSize |
function | (self, basew: Any, baseh: Any) -> Any |
X.setBaseSize(basew, baseh) (shared captured text) |
setButtonSymbols |
function | (self, bs: Any) -> Any |
(shared captured text) |
setCalendarPopup |
function | (self, enable: bool) -> None |
|
setCalendarWidget |
function | (self, calendarWidget: Any) -> None |
Sets the given calendarWidget as the widget to be used for the calendar pop-up. |
setContentsMargins |
function | (self, left: Any, top: Any, right: Any, bottom: Any) -> Any |
X.setContentsMargins(left, top, right, bottom) (shared captured text) |
setContextMenuPolicy |
function | (self, policy: Any) -> Any |
(shared captured text) |
setCorrectionMode |
function | (self, cm: Any) -> Any |
(shared captured text) |
setCurrentSection |
function | (self, section: Any) -> None |
|
setCurrentSectionIndex |
function | (self, index: int) -> None |
|
setCursor |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setDate |
function | (self, date: Any) -> None |
|
setDateRange |
function | (self, min: Any, max: Any) -> None |
X.setDateRange(min, max) |
setDateTime |
function | (self, dateTime: Any) -> None |
|
setDateTimeRange |
function | (self, min: Any, max: Any) -> None |
X.setDateTimeRange(min, max) |
setDisabled |
function | (self, a: Any) -> Any |
(shared captured text) |
setDisplayFormat |
function | (self, format: str) -> None |
|
setEnabled |
function | (self, a: Any) -> Any |
(shared captured text) |
setFixedHeight |
function | (self, h: Any) -> Any |
(shared captured text) |
setFixedSize |
function | (self, w: Any, h: Any) -> Any |
X.setFixedSize(w, h) (shared captured text) |
setFixedWidth |
function | (self, w: Any) -> Any |
(shared captured text) |
setFocus |
function | (self, reason: Any) -> Any |
(shared captured text) |
setFocusPolicy |
function | (self, policy: Any) -> Any |
(shared captured text) |
setFocusProxy |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setFont |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setForegroundRole |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setFrame |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setGeometry |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.setGeometry(x, y, w, h) (shared captured text) |
setGraphicsEffect |
function | (self, effect: Any) -> Any |
(shared captured text) |
setGroupSeparatorShown |
function | (self, shown: Any) -> Any |
(shared captured text) |
setHidden |
function | (self, hidden: Any) -> Any |
(shared captured text) |
setInputMethodHints |
function | (self, hints: Any) -> Any |
(shared captured text) |
setKeyboardTracking |
function | (self, kt: Any) -> Any |
(shared captured text) |
setLayout |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setLayoutDirection |
function | (self, direction: Any) -> Any |
(shared captured text) |
setLineEdit |
function | (self, edit: Any) -> Any |
(shared captured text) |
setLocale |
function | (self, locale: Any) -> Any |
(shared captured text) |
setMask |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setMaximumDate |
function | (self, max: Any) -> None |
|
setMaximumDateTime |
function | (self, dt: Any) -> None |
|
setMaximumHeight |
function | (self, maxh: Any) -> Any |
(shared captured text) |
setMaximumSize |
function | (self, maxw: Any, maxh: Any) -> Any |
X.setMaximumSize(maxw, maxh) (shared captured text) |
setMaximumTime |
function | (self, max: Any) -> None |
|
setMaximumWidth |
function | (self, maxw: Any) -> Any |
(shared captured text) |
setMinimumDate |
function | (self, min: Any) -> None |
|
setMinimumDateTime |
function | (self, dt: Any) -> None |
|
setMinimumHeight |
function | (self, minh: Any) -> Any |
(shared captured text) |
setMinimumSize |
function | (self, minw: Any, minh: Any) -> Any |
X.setMinimumSize(minw, minh) (shared captured text) |
setMinimumTime |
function | (self, min: Any) -> None |
|
setMinimumWidth |
function | (self, minw: Any) -> Any |
(shared captured text) |
setMouseTracking |
function | (self, enable: Any) -> Any |
(shared captured text) |
setObjectName |
function | (self, name: Any) -> Any |
(shared captured text) |
setPalette |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setParent |
function | (self, parent: Any, f: Any) -> Any |
X.setParent(parent, f) (shared captured text) |
setProperty |
function | (self, name: Any, value: Any) -> bool |
X.setProperty(name, value) -> bool (shared captured text) |
setReadOnly |
function | (self, r: Any) -> Any |
(shared captured text) |
setSelectedSection |
function | (self, section: Any) -> None |
Selects section. |
setShortcutAutoRepeat |
function | (self, id: Any, enable: Any) -> Any |
X.setShortcutAutoRepeat(id, enable) (shared captured text) |
setShortcutEnabled |
function | (self, id: Any, enable: Any) -> Any |
X.setShortcutEnabled(id, enable) (shared captured text) |
setSizeIncrement |
function | (self, w: Any, h: Any) -> Any |
X.setSizeIncrement(w, h) (shared captured text) |
setSizePolicy |
function | (self, horizontal: Any, vertical: Any) -> Any |
X.setSizePolicy(horizontal, vertical) (shared captured text) |
setSpecialValueText |
function | (self, txt: Any) -> Any |
(shared captured text) |
setStatusTip |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setStyle |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setStyleSheet |
function | (self, styleSheet: Any) -> Any |
(shared captured text) |
setTabOrder |
function | (self, arg__1: Any, arg__2: Any) -> Any |
X.setTabOrder(arg__1, arg__2) (shared captured text) |
setTime |
function | (self, time: Any) -> None |
|
setTimeRange |
function | (self, min: Any, max: Any) -> None |
X.setTimeRange(min, max) |
setTimeSpec |
function | (self, spec: Any) -> None |
|
setToolTip |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setToolTipDuration |
function | (self, msec: Any) -> Any |
(shared captured text) |
setUpdatesEnabled |
function | (self, enable: Any) -> Any |
(shared captured text) |
setVisible |
function | (self, visible: Any) -> Any |
(shared captured text) |
setWhatsThis |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setWindowFilePath |
function | (self, filePath: Any) -> Any |
(shared captured text) |
setWindowFlags |
function | (self, type: Any) -> Any |
(shared captured text) |
setWindowIcon |
function | (self, icon: Any) -> Any |
(shared captured text) |
setWindowIconText |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setWindowModality |
function | (self, windowModality: Any) -> Any |
(shared captured text) |
setWindowModified |
function | (self, a: Any) -> Any |
(shared captured text) |
setWindowOpacity |
function | (self, level: Any) -> Any |
(shared captured text) |
setWindowRole |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
setWindowState |
function | (self, state: Any) -> Any |
(shared captured text) |
setWindowTitle |
function | (self, a: Any) -> Any |
(shared captured text) |
setWrapping |
function | (self, w: Any) -> Any |
(shared captured text) |
sharedPainter |
function | (self) -> Any |
X.sharedPainter() -> PythonQt.QtGui.QPainter (shared captured text) |
show |
function | (self) -> Any |
(shared captured text) |
showEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
showFullScreen |
function | (self) -> Any |
(shared captured text) |
showGroupSeparator |
attribute | Any |
(shared captured text) |
showMaximized |
function | (self) -> Any |
(shared captured text) |
showMinimized |
function | (self) -> Any |
(shared captured text) |
showNormal |
function | (self) -> Any |
(shared captured text) |
signalsBlocked |
function | (self) -> bool |
X.signalsBlocked() -> bool (shared captured text) |
size |
attribute | QSize |
(shared captured text) |
sizeHint |
attribute | QSize |
Reimplements: [QAbstractSpinBox::sizeHint](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#sizeHint)() const. |
sizeIncrement |
attribute | QSize |
(shared captured text) |
sizePolicy |
attribute | QSizePolicy |
(shared captured text) |
specialValueText |
attribute | Any |
(shared captured text) |
stackUnder |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
startTimer |
function | (self, interval: Any, timerType: Any) -> int |
X.startTimer(interval, timerType) -> int (shared captured text) |
statusTip |
attribute | Any |
(shared captured text) |
stepBy |
function | (self, steps: int) -> None |
Reimplements: [QAbstractSpinBox::stepBy](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#stepBy)(int steps). |
stepDown |
function | (self) -> Any |
(shared captured text) |
stepEnabled |
function | (self) -> Any |
Reimplements: [QAbstractSpinBox::stepEnabled](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#stepEnabled)() const. |
stepUp |
function | (self) -> Any |
(shared captured text) |
style |
function | (self) -> Any |
X.style() -> PythonQt.QtGui.QStyle (shared captured text) |
styleSheet |
attribute | Any |
(shared captured text) |
tabletEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
tabletTracking |
attribute | Any |
(shared captured text) |
testAttribute |
function | (self, arg__1: Any) -> bool |
X.testAttribute(arg__1) -> bool (shared captured text) |
text |
attribute | Any |
(shared captured text) |
textFromDateTime |
function | (self, dt: Any) -> str |
X.textFromDateTime(dt) -> str |
thread |
function | (self) -> Any |
(shared captured text) |
time |
attribute | QTime |
This property holds the [QTime](https://doc.qt.io/archives/qt-5.15/qtime.html) that is set in the widget. |
timeChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.timeChanged; argument details are not documented. |
timeSpec |
attribute | Any |
This property holds the current timespec used by the date time edit. |
timerEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
toolTip |
attribute | Any |
(shared captured text) |
toolTipDuration |
attribute | Any |
(shared captured text) |
tr |
function | (self, text: Any, ambig: Any, n: Any) -> str |
X.tr(text, ambig, n) -> str (shared captured text) |
underMouse |
function | (self) -> bool |
X.underMouse() -> bool (shared captured text) |
ungrabGesture |
function | (self, type: Any) -> Any |
(shared captured text) |
unsetCursor |
function | (self) -> Any |
(shared captured text) |
unsetLayoutDirection |
function | (self) -> Any |
(shared captured text) |
unsetLocale |
function | (self) -> Any |
(shared captured text) |
update |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.update(x, y, w, h) (shared captured text) |
updateGeometry |
function | (self) -> Any |
(shared captured text) |
updatesEnabled |
attribute | Any |
(shared captured text) |
validate |
function | (self, input: str, pos: int) -> Any |
X.validate(input, pos) |
visible |
attribute | Any |
(shared captured text) |
visibleRegion |
function | (self) -> Any |
X.visibleRegion() -> PythonQt.QtGui.QRegion (shared captured text) |
whatsThis |
attribute | Any |
(shared captured text) |
wheelEvent |
function | (self, event: Any) -> None |
Reimplements: [QAbstractSpinBox::wheelEvent](https://doc.qt.io/archives/qt-5.15/qabstractspinbox.html#wheelEvent)(QWheelEvent *event). |
width |
attribute | Any |
(shared captured text) |
widthMM |
function | (self) -> int |
X.widthMM() -> int (shared captured text) |
winId |
function | (self) -> int |
X.winId() -> int (shared captured text) |
window |
function | (self) -> Any |
X.window() -> PythonQt.QtGui.QWidget (shared captured text) |
windowFilePath |
attribute | Any |
(shared captured text) |
windowFlags |
function | (self) -> Any |
(shared captured text) |
windowHandle |
function | (self) -> Any |
X.windowHandle() -> PythonQt.QtGui.QWindow (shared captured text) |
windowIcon |
attribute | QIcon |
(shared captured text) |
windowIconChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.windowIconChanged; argument details are not documented. |
windowIconText |
attribute | Any |
(shared captured text) |
windowIconTextChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.windowIconTextChanged; argument details are not documented. |
windowModality |
attribute | Any |
(shared captured text) |
windowModified |
attribute | Any |
(shared captured text) |
windowOpacity |
attribute | Any |
(shared captured text) |
windowRole |
function | (self) -> str |
X.windowRole() -> str (shared captured text) |
windowState |
function | (self) -> Any |
(shared captured text) |
windowTitle |
attribute | Any |
(shared captured text) |
windowTitleChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QDateTimeEdit.windowTitleChanged; argument details are not documented. |
windowType |
function | (self) -> Any |
(shared captured text) |
wrapping |
attribute | Any |
(shared captured text) |
x |
attribute | Any |
(shared captured text) |
y |
attribute | Any |
(shared captured text) |