CustusX  18.04-rc6
An IGT application
cx::LayoutRepository Class Reference

#include <cxLayoutRepository.h>

Inheritance diagram for cx::LayoutRepository:

Signals

void layoutChanged (QString uid)
 

Public Member Functions

 LayoutRepository ()
 
LayoutData get (const QString uid) const
 
std::vector< QString > getAvailable () const
 
void insert (const LayoutData &data)
 
QString generateUid () const
 
void erase (const QString uid)
 
bool isCustom (const QString &uid) const
 
void load (XmlOptionFile file)
 
void save (XmlOptionFile file)
 
void addDefault (LayoutData data)
 
bool exists (const QString uid) const
 

Detailed Description

Repository for View Layouts.

Each layout is a separate configuration of 2D/3D/Video views, laid out in a specific way on screen.

Date
2014-02-07
Author
christiana

Definition at line 35 of file cxLayoutRepository.h.

Constructor & Destructor Documentation

cx::LayoutRepository::LayoutRepository ( )

Definition at line 20 of file cxLayoutRepository.cpp.

Member Function Documentation

void cx::LayoutRepository::addDefault ( LayoutData  data)

Definition at line 339 of file cxLayoutRepository.cpp.

void cx::LayoutRepository::erase ( const QString  uid)

Definition at line 76 of file cxLayoutRepository.cpp.

bool cx::LayoutRepository::exists ( const QString  uid) const

Definition at line 35 of file cxLayoutRepository.cpp.

QString cx::LayoutRepository::generateUid ( ) const

Definition at line 64 of file cxLayoutRepository.cpp.

LayoutData cx::LayoutRepository::get ( const QString  uid) const

Definition at line 25 of file cxLayoutRepository.cpp.

std::vector< QString > cx::LayoutRepository::getAvailable ( ) const

Definition at line 44 of file cxLayoutRepository.cpp.

void cx::LayoutRepository::insert ( const LayoutData data)

Definition at line 54 of file cxLayoutRepository.cpp.

bool cx::LayoutRepository::isCustom ( const QString &  uid) const

Definition at line 92 of file cxLayoutRepository.cpp.

void cx::LayoutRepository::layoutChanged ( QString  uid)
signal
void cx::LayoutRepository::load ( XmlOptionFile  file)

Definition at line 113 of file cxLayoutRepository.cpp.

void cx::LayoutRepository::save ( XmlOptionFile  file)

Definition at line 142 of file cxLayoutRepository.cpp.


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