- All Superinterfaces:
QtObjectInterface
- All Known Subinterfaces:
QPagedPaintDevice
- All Known Implementing Classes:
QAbstractButton
,QAbstractItemView
,QAbstractPrintDialog
,QAbstractScrollArea
,QAbstractSlider
,QAbstractSpinBox
,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
,QPagedPaintDevice.Impl
,QPageSetupDialog
,QPaintDevice.Impl
,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
,QtJambiResourceBrowser
,QToolBar
,QToolBox
,QToolButton
,QTreeView
,QTreeWidget
,QUndoView
,QVideoWidget
,QWebEngineView
,QWidget
,QWizard
,QWizardPage
public interface QPaintDevice extends QtObjectInterface
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:
@io.qt.QtUninvokable
protected void initPainter(io.qt.gui.QPainter painter){
QPaintDevice.MemberAccess.of(this).initPainter(painter);
}
@io.qt.QtUninvokable
protected int metric(io.qt.gui.QPaintDevice.PaintDeviceMetric metric){
return QPaintDevice.MemberAccess.of(this).metric(metric);
}
@io.qt.QtUninvokable
protected io.qt.gui.QPaintDevice redirected(io.qt.core.QPoint offset){
return QPaintDevice.MemberAccess.of(this).redirected(offset);
}
@io.qt.QtUninvokable
protected io.qt.gui.QPainter sharedPainter(){
return QPaintDevice.MemberAccess.of(this).sharedPainter();
}
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
QPaintDevice.Impl
Implementor class for interfaceQPaintDevice
static class
QPaintDevice.MemberAccess
static class
QPaintDevice.PaintDeviceMetric
Java wrapper for Qt enum QPaintDevice::PaintDeviceMetric -
Method Summary
Modifier and Type Method Description default int
colorCount()
default int
depth()
default double
devicePixelRatio()
default double
devicePixelRatioF()
static double
devicePixelRatioFScale()
default int
height()
default int
heightMM()
default int
logicalDpiX()
default int
logicalDpiY()
QPaintEngine
paintEngine()
default boolean
paintingActive()
default int
physicalDpiX()
default int
physicalDpiY()
default int
width()
default int
widthMM()
-
Method Details
-
colorCount
-
depth
-
devicePixelRatio
-
devicePixelRatioF
-
height
-
heightMM
-
logicalDpiX
-
logicalDpiY
-
paintingActive
-
physicalDpiX
-
physicalDpiY
-
width
-
widthMM
-
paintEngine
-
devicePixelRatioFScale
static double devicePixelRatioFScale()
-