RegisterProfileDialog¶
-
class RegisterProfileDialog : public QDialog¶
Main dialog for selecting, loading, and exporting register profiles.
Public Functions
-
explicit RegisterProfileDialog(QWidget *parent = nullptr)¶
-
~RegisterProfileDialog()¶
-
void setProfilePath(const QString &path)¶
Updates the path display in the UI.
- Parameters:
path – The file path string
-
void setProfileData(const QString &data)¶
Internal storage for the profile text.
- Parameters:
data – The raw profile content.
-
QString getProfileData() const¶
Retrieves the current profile content.
- Returns:
Raw profile string.
-
QString getProfilePath() const¶
Retrieves the current file path from the UI.
- Returns:
Path string.
-
QString getSerializedProfilePath() const¶
Formats the path for configuration storage (e.g., “type::path”).
- Returns:
Serialized string.
-
void fillProfilePaths(const QStringList &profilePaths)¶
Populates the recent profiles list.
- Parameters:
profilePaths – List of serialized profile strings.
-
RegisterProfile getLoadedProfile() const¶
Identifies which profile type is currently active.
- Returns:
Active RegisterProfile enum.
-
explicit RegisterProfileDialog(QWidget *parent = nullptr)¶