33#include <NDEVR/QTDesignObject.h>
34#include <NDEVR/QCustomLineEdit.h>
35#include <NDEVR/RegexFunctions.h>
107 setWindowTitle(
m_meta_data.toTitleString().getAs<QString>());
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
TranslatedString m_title
The display title for the line edit.
virtual void setTitle(const TranslatedString &title)
Sets the display title for the line edit, used as a label or placeholder context.
void editingFinishedSignal()
Emitted when the user finishes editing (focus lost or enter pressed).
void setAllowPlaceholderAsValue(bool allow)
Sets whether the placeholder text should be treated as a valid value when the field is empty.
t_type getAs(bool allow_placeholder) const
Returns the current value converted to the requested type.
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.
void updatedSignal(UUID id)
Emitted when this object is updated.
void deletedSignal(UUID id)
Emitted when this object is deleted.
static const char * FileRegex()
Gets a regex pattern for validating file paths.
The core String View class for the NDEVR API.
The core String class for the NDEVR API.
static TranslatedString DisplayString(const t_type &value)
Converts an object into a TranslatedString.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
static TranslatedString DirectString(const StringView &sub_string)
If a string does not have a translation (EG: reading from an already translated string) this operatio...
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.
@ meta_data
General-purpose metadata string for the object.