SelectedDataKey
SelectedDataKey
Key for selected data in SelectionContext. More…
#include <StrongTypes.hpp>
Inherits from EditorLib::StrongStringId< SelectedDataKey >
Public Functions
| Name | |
|---|---|
| StrongStringId() =default | |
| StrongStringId(QString v) | |
| StrongStringId(char const * v) | |
| StrongStringId(std::string const & v) |
Additional inherited members
Public Functions inherited from EditorLib::StrongStringId< SelectedDataKey >
| Name | |
|---|---|
| bool | isEmpty() const |
| bool | isValid() const |
| QString const & | toString() const |
| std::string | toStdString() const |
| void | clear() |
| auto | operator<=>(StrongStringId const & other) const |
| bool | operator==(StrongStringId const & other) const |
Public Attributes inherited from EditorLib::StrongStringId< SelectedDataKey >
| Name | |
|---|---|
| QString | value |
Friends inherited from EditorLib::StrongStringId< SelectedDataKey >
| Name | |
|---|---|
| size_t | qHash(StrongStringId const & id, size_t seed =0) |
Detailed Description
struct SelectedDataKey;Key for selected data in SelectionContext.
Identifies selected data (e.g., “whisker_1”, “emg_channel_0”). Used for tracking which data objects are currently selected in the UI. This is separate from DataKey used in DataManager to allow for QString-based operations with Qt signals/slots.
Public Functions Documentation
function StrongStringId
StrongStringId() =defaultfunction StrongStringId
inline explicit StrongStringId(
QString v
)function StrongStringId
inline explicit StrongStringId(
char const * v
)function StrongStringId
inline explicit StrongStringId(
std::string const & v
)Updated on 2026-11-13 at 20:25:39 +0000