34#include <NDEVR/QCustomLineEdit.h>
35#include <NDEVR/QCustomValidator.h>
36#include <NDEVR/DesignObjectLookup.h>
37#include <NDEVR/DesignObject.h>
38#include <NDEVR/RegexFunctions.h>
60 setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
125 if (value.size() == 0)
132 if(
m_manager->object(
id).doesPropertyContain(property, value, ignore_case))
147 if (value.size() == 0)
154 if (
m_manager->object(
id).doesPropertyBeginWith(property, value, ignore_case))
The equivelent of std::vector but with a bit more control.
void add(t_type &&object)
Adds object to the end of the buffer.
A core class where all Design Objects including models, materials, and geometries are stored.
void setPlaceholderText(const QString &value)
Sets the placeholder text displayed when the field is empty.
String getValue(bool allow_placeholder) const
Returns the current text value of the line edit.
QCustomValidator & customValidator()
Returns a mutable reference to the custom validator used for input validation.
QCustomLineEdit(QWidget *parent=Q_NULLPTR)
Constructs a QCustomLineEdit with the given parent widget.
static const char * FileRegex()
Gets a regex pattern for validating file paths.
The core String class for the NDEVR API.
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
The primary namespace for the NDEVR SDK.
NDPO
NDPO - NDEVR Design Property Object: Values stored in the property database.
@ property_size
Sentinel value representing the total number of properties (always last).
@ file
The source file path associated with this object.