Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 64 of file cxStateService.h.

Constructor & Destructor Documentation

cx::Desktop::Desktop ( )

Definition at line 45 of file cxStateService.cpp.

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

Definition at line 49 of file cxStateService.cpp.

Member Function Documentation

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

Definition at line 54 of file cxStateService.cpp.

Member Data Documentation

QString cx::Desktop::mLayoutUid

Definition at line 70 of file cxStateService.h.

QByteArray cx::Desktop::mMainWindowState

Definition at line 72 of file cxStateService.h.

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

Definition at line 80 of file cxStateService.h.

QString cx::Desktop::mSecondaryLayoutUid

Definition at line 71 of file cxStateService.h.


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