NorMIT-nav  22.09
An IGT application
cx::Desktop Struct Reference

Data class for CustusX desktop. More...

#include <cxStateService.h>

Classes

struct  Preset
 

Public Member Functions

 Desktop ()
 
 Desktop (QString layout, QByteArray mainwindowstate)
 
void addPreset (QString name, int pos, bool tabbed=true)
 

Public Attributes

QString mLayoutUid
 
QString mSecondaryLayoutUid
 
QByteArray mMainWindowState
 
std::vector< PresetmPresets
 

Detailed Description

Data class for CustusX desktop.

Contains info about widget and toolbar info in the MainWindow, and the Layout ID.

See also
StateService

Definition at line 43 of file cxStateService.h.

Constructor & Destructor Documentation

◆ Desktop() [1/2]

cx::Desktop::Desktop ( )

Definition at line 24 of file cxStateService.cpp.

◆ Desktop() [2/2]

cx::Desktop::Desktop ( QString  layout,
QByteArray  mainwindowstate 
)

Definition at line 28 of file cxStateService.cpp.

Member Function Documentation

◆ addPreset()

void cx::Desktop::addPreset ( QString  name,
int  pos,
bool  tabbed = true 
)

Definition at line 33 of file cxStateService.cpp.

Member Data Documentation

◆ mLayoutUid

QString cx::Desktop::mLayoutUid

Definition at line 49 of file cxStateService.h.

◆ mMainWindowState

QByteArray cx::Desktop::mMainWindowState

Definition at line 51 of file cxStateService.h.

◆ mPresets

std::vector<Preset> cx::Desktop::mPresets

Definition at line 59 of file cxStateService.h.

◆ mSecondaryLayoutUid

QString cx::Desktop::mSecondaryLayoutUid

Definition at line 50 of file cxStateService.h.


The documentation for this struct was generated from the following files: