Fraxinus  2023.01.05-dev+develop.0da12
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

cx::Desktop::Desktop ( )

Definition at line 24 of file cxStateService.cpp.

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

Definition at line 28 of file cxStateService.cpp.

Member Function Documentation

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

Definition at line 33 of file cxStateService.cpp.

Member Data Documentation

QString cx::Desktop::mLayoutUid

Definition at line 49 of file cxStateService.h.

QByteArray cx::Desktop::mMainWindowState

Definition at line 51 of file cxStateService.h.

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

Definition at line 59 of file cxStateService.h.

QString cx::Desktop::mSecondaryLayoutUid

Definition at line 50 of file cxStateService.h.


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