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

Constructor & Destructor Documentation

cx::LayoutRepository::LayoutRepository ( )

Definition at line 41 of file cxLayoutRepository.cpp.

Member Function Documentation

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

Definition at line 360 of file cxLayoutRepository.cpp.

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

Definition at line 97 of file cxLayoutRepository.cpp.

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

Definition at line 56 of file cxLayoutRepository.cpp.

QString cx::LayoutRepository::generateUid ( ) const

Definition at line 85 of file cxLayoutRepository.cpp.

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

Definition at line 46 of file cxLayoutRepository.cpp.

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

Definition at line 65 of file cxLayoutRepository.cpp.

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

Definition at line 75 of file cxLayoutRepository.cpp.

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

Definition at line 113 of file cxLayoutRepository.cpp.

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

Definition at line 134 of file cxLayoutRepository.cpp.

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

Definition at line 163 of file cxLayoutRepository.cpp.


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