4# pragma warning(push, 1)
5# pragma warning(disable : 4127)
6# pragma warning(disable : 4005)
21#include "_detail/detail_ui.hpp"
23#include "../global.hpp"
24#include "../string.hpp"
25#include "../image.hpp"
26#include "../rect_lt.hpp"
27#include "../utilities/system_info.hpp"
181 return (
Width == bufferFormat.Width &&
Height == bufferFormat.Height &&
LinePad == bufferFormat.LinePad
194 return !(*
this == bufferFormat);
244#if defined _WIN32 && defined(UNICODE)
245 return text.toStdWString();
247 return text.toStdString();
259#if defined _WIN32 && defined(UNICODE)
260 return QString::fromStdWString(text);
262 return QString::fromStdString(text);
274 return QSizeF(size.Width(), size.Height());
296 return QRectF(rect.Left(), rect.Top(), rect.Width(), rect.Height());
307 return RectLT<double>(rect.left(), rect.top(), rect.right(), rect.bottom());
318 return QPointF(point.X(), point.Y());
340 return QDir(qtPluginPath.filePath(
"qt")).filePath(
"plugins");
351 return QDir(qtQmlPath.filePath(
"qt")).filePath(
"qml");
Multi-purpose 2D vector class.
Definition point_2d.hpp:20
Rectangle object.
Definition rect_lt.hpp:22
Stores a pair of numbers that represents the width and the height of a subject, typically a rectangle...
Definition size_2d.hpp:20
Scene to provide a convenient display for an image.
Definition decl_image_scene.hpp:49
View to display an image.
Definition decl_image_view.hpp:69
View to display a device's nodemap.
Definition property_grid.hpp:150
Namespace for user interface components.
Definition decl_image_scene.hpp:39
QString CvbQtQmlPath()
Directory to Qt qml installed with CVB.
Definition ui.hpp:348
QString CvbQtPluginPath()
Directory to Qt plugins installed with CVB.
Definition ui.hpp:337
Cvb::String QtToCvb(const QString text) noexcept
Convenience converter for strings.
Definition ui.hpp:242
RefreshMode
Defines the refresh behavior.
Definition ui.hpp:80
@ UploadAndWaitForRepaint
Definition ui.hpp:100
@ UploadAndScheduleRepaint
Definition ui.hpp:94
@ UploadOnly
Definition ui.hpp:85
OpenGLTextureFormat
OpenGL texture format to hold the pixel data.
Definition ui.hpp:132
@ Mono
Definition ui.hpp:144
@ Unknown
Definition ui.hpp:136
@ RGB
Definition ui.hpp:140
RenderEngine
Defines the render engine used for drawing.
Definition ui.hpp:108
@ Raster
Definition ui.hpp:114
@ OpenGL3
Definition ui.hpp:127
@ OpenGL2
Definition ui.hpp:121
QString CvbToQt(const Cvb::String &text) noexcept
Convenience converter for strings.
Definition ui.hpp:257
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17
std::string String
String for wide characters or unicode characters.
Definition string.hpp:49
String InstallPath()
Directory Common Vision Blox has been installed to.
Definition system_info.hpp:234
Set of all coordinates required to render a texture.
Definition ui.hpp:217
OpenGLCoord BottomRight
Definition ui.hpp:229
OpenGLCoord TopRight
Definition ui.hpp:233
OpenGLCoord TopLeft
Definition ui.hpp:221
OpenGLCoord BottomLeft
Definition ui.hpp:225
OpenGL coordinate representing a texture corner.
Definition ui.hpp:202
QVector2D VerPoint
Definition ui.hpp:206
QVector2D TexPoint
Definition ui.hpp:210