Namespace for user interface components. More...
Namespaces | |
namespace | Quick |
Namespace for QML related classes. | |
Classes | |
class | ImageScene |
Scene to provide a convenient display for an image. More... | |
class | ImageView |
View to display an image. More... | |
class | OpenGLBufferFormat |
Buffer format description for a texture to hold the pixel data. More... | |
class | OpenGLCoord |
OpenGL coordinate representing a texture corner. More... | |
class | OpenGLCoordArray |
Set of all coordinates required to render a texture. More... | |
class | OpenGLImageRenderer |
Base class for OpenGL image renderer. More... | |
class | OpenGLImageRendererFactory |
Factory to create an OpenGL based image renderer. More... | |
class | PropertyGrid |
View to display a device's nodemap. More... | |
class | ZoomDescriptor |
Describes an zoom setting for the display. More... | |
Enumerations | |
enum class | UploadMode { Image , Viewport } |
Defines the upload behavior. More... | |
enum class | ZoomID { Invalid , Custom , Panorama , Factor1 , Factor2 , Factor4 , Factor8 , Factor16 , Factor32 , Factor64 , Factor128 } |
Identifier for a zoom factor. More... | |
enum class | AutoRefresh { On , Off } |
Allows to automatically refresh, if image content changes. More... | |
enum class | LabelScale |
Switch defining if image view labels are sensitive to zoom operations. | |
enum class | RefreshMode { UploadOnly , UploadAndScheduleRepaint , UploadAndWaitForRepaint } |
Defines the refresh behavior. More... | |
enum class | RenderEngine { Raster , OpenGL2 , OpenGL3 } |
Defines the render engine used for drawing. More... | |
enum class | OpenGLTextureFormat { Unknown , RGB , Mono } |
OpenGL texture format to hold the pixel data. More... | |
Functions | |
Cvb::String | QtToCvb (const QString text) noexcept |
Convenience converter for strings. More... | |
QString | CvbToQt (const Cvb::String &text) noexcept |
Convenience converter for strings. More... | |
QSizeF | CvbToQt (Size2D< double > size) noexcept |
Convenience converter for sizes. More... | |
Size2D< double > | QtToCvb (QSizeF size) noexcept |
Convenience converter for sizes. More... | |
QRectF | CvbToQt (RectLT< double > rect) noexcept |
Convenience converter for rectangles. More... | |
RectLT< double > | QtToCvb (const QRectF &rect) noexcept |
Convenience converter for rectangles. More... | |
QPointF | CvbToQt (Point2D< double > point) noexcept |
Convenience converter for points. More... | |
Point2D< double > | QtToCvb (const QPointF &point) |
Convenience converter for points. More... | |
Namespace for user interface components.
All components within this namespace depend on the Qt5 library. You may seamlessly integrate with your Qt Widget based application and link to your own version of Qt. In order to use OpenGL 3 rendering your Qt version must be 5.6 or higher. Older Qt versions may be used but OpenGL3 will not be available as render engine.
|
strong |
Allows to automatically refresh, if image content changes.
Enumerator | |
---|---|
On | Hooks in at Image::RegisterEventPixelContentChanged() to automatically refresh the ImageView.
|
Off | Does not call refresh automatically. |
|
strong |
|
strong |
Defines the refresh behavior.
|
strong |
Defines the render engine used for drawing.
|
strong |
Defines the upload behavior.
Enumerator | |
---|---|
Image | Upload respectively copy the complete Image data, to frame buffer. This also includes parts of the image that are not visible. This allows smooth drawing and scaling. This is the default option.
|
Viewport | Upload respectively copy only the visible part of the image. For large images this is usually much faster than uploading the whole image. The pixel data may be subsampled, as a consequence aliasing may occur.
|
|
strong |
Identifier for a zoom factor.
Enumerator | |
---|---|
Invalid | Represents an invalid zoom factor for internal use. |
Custom | Represents a custom zoom factor that is user defined. |
Panorama | Represents a dynamic zoom factor, that is dependent on the view port size of ImageView. |
Factor1 | Represents the zoom to draw the image in original size. |
Factor2 | Represents the zoom to draw the image scaled by 2. |
Factor4 | Represents the zoom to draw the image scaled by 4. |
Factor8 | Represents the zoom to draw the image scaled by 8. |
Factor16 | Represents the zoom to draw the image scaled by 16. |
Factor32 | Represents the zoom to draw the image scaled by 32. |
Factor64 | Represents the zoom to draw the image scaled by 64. |
Factor128 | Represents the zoom to draw the image scaled by 128. |
|
inlinenoexcept |
Convenience converter for strings.
[in] | text | String as used by CVB classes. |
Does | not throw any exception. |
|
inlinenoexcept |
Convenience converter for points.
[in] | point | Point used by CVB classes. |
Does | not throw any exception. |
|
inlinenoexcept |
Convenience converter for rectangles.
[in] | rect | Size used by CVB classes. |
Does | not throw any exception. |
|
inlinenoexcept |
Convenience converter for sizes.
[in] | size | Size used by CVB classes. |
Does | not throw any exception. |
|
inline |
Convenience converter for points.
[in] | point | QPointF from the Qt library. |
Does | not throw any exception. |
|
inlinenoexcept |
Convenience converter for rectangles.
[in] | rect | QRectF from the Qt library. |
Does | not throw any exception. |
|
inlinenoexcept |
Convenience converter for strings.
[in] | text | QString from the Qt library. |
Does | not throw any exception. |
|
inlinenoexcept |
Convenience converter for sizes.
[in] | size | QSizeF from the Qt library. |
Does | not throw any exception. |