CustusX
16.5.0-rc9
An IGT application
|
#include <cxLayoutRepository.h>
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 |
Repository for View Layouts.
Each layout is a separate configuration of 2D/3D/Video views, laid out in a specific way on screen.
Definition at line 56 of file cxLayoutRepository.h.
cx::LayoutRepository::LayoutRepository | ( | ) |
Definition at line 41 of file cxLayoutRepository.cpp.
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.
|
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.