- All Superinterfaces:
QtObjectInterface
- All Known Subinterfaces:
QPagedPaintDevice
- All Known Implementing Classes:
QAbstractButton
,QAbstractItemView
,QAbstractPrintDialog
,QAbstractScrollArea
,QAbstractSlider
,QAbstractSpinBox
,QAxSelect
,QAxWidget
,QBitmap
,QCalendarWidget
,QCameraViewfinder
,QChartView
,QCheckBox
,QColorDialog
,QColumnView
,QComboBox
,QCommandLinkButton
,QDateEdit
,QDateTimeEdit
,QDesignerActionEditorInterface
,QDesignerFormWindowInterface
,QDesignerNewFormWidgetInterface
,QDesignerObjectInspectorInterface
,QDesignerPropertyEditorInterface
,QDesignerResourceBrowserInterface
,QDesignerWidgetBoxInterface
,QDesktopWidget
,QDial
,QDialog
,QDialogButtonBox
,QDockWidget
,QDoubleSpinBox
,QErrorMessage
,QFileDialog
,QFocusFrame
,QFontComboBox
,QFontDialog
,QFrame
,QGraphicsView
,QGroupBox
,QHeaderView
,QHelpContentWidget
,QHelpFilterSettingsWidget
,QHelpIndexWidget
,QHelpSearchQueryWidget
,QHelpSearchResultWidget
,QImage
,QInputDialog
,QKeySequenceEdit
,QLabel
,QLCDNumber
,QLineEdit
,QListView
,QListWidget
,QMainWindow
,QMdiArea
,QMdiSubWindow
,QMenu
,QMenuBar
,QMessageBox
,QOpenGLPaintDevice
,QOpenGLWidget
,QOpenGLWindow
,QPageSetupDialog
,QPaintDeviceWindow
,QPdfWriter
,QPicture
,QPixmap
,QPlainTextEdit
,QPrintDialog
,QPrinter
,QPrintPreviewDialog
,QPrintPreviewWidget
,QProgressBar
,QProgressDialog
,QPushButton
,QQuickWidget
,QRadioButton
,QRasterWindow
,QRubberBand
,QScrollArea
,QScrollBar
,QSizeGrip
,QSlider
,QSpinBox
,QSplashScreen
,QSplitter
,QSplitterHandle
,QStackedWidget
,QStatusBar
,QSvgGenerator
,QSvgWidget
,QTabBar
,QTableView
,QTableWidget
,QTabWidget
,QTextBrowser
,QTextEdit
,QTimeEdit
,QToolBar
,QToolBox
,QToolButton
,QTreeView
,QTreeWidget
,QUndoView
,QVideoWidget
,QWebEngineView
,QWidget
,QWizard
,QWizardPage
The base class of objects that can be painted on with QPainter
Java wrapper for Qt class QPaintDevice
Following functions are protected in the Qt interface, all implementations of this interface may implement these function:
@QtUninvokable
protected void initPainter(io.qt.gui.@Nullable QPainter painter){
QPaintDevice.MemberAccess.of(this).initPainter(painter);
}
@QtUninvokable
protected int metric(io.qt.gui.QPaintDevice.@NonNull PaintDeviceMetric metric){
return QPaintDevice.MemberAccess.of(this).metric(metric);
}
@QtUninvokable
protected io.qt.gui.@Nullable QPaintDevice redirected(io.qt.core.@Nullable QPoint offset){
return QPaintDevice.MemberAccess.of(this).redirected(offset);
}
@QtUninvokable
protected io.qt.gui.@Nullable QPainter sharedPainter(){
return QPaintDevice.MemberAccess.of(this).sharedPainter();
}
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Java wrapper for Qt enumQPaintDevice::PaintDeviceMetric
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
default int
depth()
default double
default double
static double
SeeQPaintDevice::
devicePixelRatioFScale() default int
height()
default int
heightMM()
default int
default int
default boolean
default int
default int
default int
width()
default int
widthMM()
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
colorCount
- Returns:
-
depth
- Returns:
-
devicePixelRatio
- Returns:
-
devicePixelRatioF
- Returns:
- Since:
- This function was introduced in Qt 5.6.
-
height
- Returns:
-
heightMM
- Returns:
-
logicalDpiX
- Returns:
-
logicalDpiY
- Returns:
-
paintingActive
- Returns:
-
physicalDpiX
- Returns:
-
physicalDpiY
- Returns:
-
width
- Returns:
-
widthMM
- Returns:
-
paintEngine
- Returns:
-
devicePixelRatioFScale
static double devicePixelRatioFScale()See
QPaintDevice::
devicePixelRatioFScale() - Returns:
-