4#pragma warning ( push, 1)
5#pragma warning ( disable : 4127)
6#pragma warning ( disable : 4005)
22#include "_detail/detail_ui.hpp"
25#include "../global.hpp"
26#include "../string.hpp"
27#include "../image.hpp"
28#include "../rect_lt.hpp"
29#include "../utilities/system_info.hpp"
172 return (
Width == bufferFormat.Width
173 &&
Height == bufferFormat.Height
174 &&
LinePad == bufferFormat.LinePad
188 return !(*
this == bufferFormat);
242#if defined _WIN32 && defined(UNICODE)
243 return text.toStdWString();
245 return text.toStdString();
257#if defined _WIN32 && defined(UNICODE)
295 return QRectF(rect.Left(), rect.Top(), rect.Width(), rect.Height());
306 return RectLT<double>(rect.left(), rect.top(), rect.right(), rect.bottom());
318 return QPointF(point.X(), point.Y());
T Height() const noexcept
Gets the vertical component of the size.
Definition: size_2d.hpp:79
T Width() const noexcept
Gets the horizontal component of the size.
Definition: size_2d.hpp:59
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:240
RefreshMode
Defines the refresh behavior.
Definition: ui.hpp:62
@ UploadAndWaitForRepaint
@ UploadAndScheduleRepaint
OpenGLTextureFormat
OpenGL texture format to hold the pixel data.
Definition: ui.hpp:121
RenderEngine
Defines the render engine used for drawing.
Definition: ui.hpp:92
QString CvbToQt(const Cvb::String &text) noexcept
Convenience converter for strings.
Definition: ui.hpp:255
Root namespace for the Image Manager interface.
Definition: version.hpp:12
QString filePath(const QString &fileName) const const
QString fromStdString(const std::string &str)
QString fromStdWString(const std::wstring &str)
Set of all coordinates required to render a texture.
Definition: ui.hpp:213
OpenGLCoord BottomRight
Definition: ui.hpp:225
OpenGLCoord TopRight
Definition: ui.hpp:229
OpenGLCoord TopLeft
Definition: ui.hpp:217
OpenGLCoord BottomLeft
Definition: ui.hpp:221
OpenGL coordinate representing a texture corner.
Definition: ui.hpp:198
QVector2D VerPoint
Definition: ui.hpp:202
QVector2D TexPoint
Definition: ui.hpp:206