CustusX
18.04-rc1
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 35 of file cxLayoutRepository.h.
cx::LayoutRepository::LayoutRepository | ( | ) |
Definition at line 20 of file cxLayoutRepository.cpp.
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.
|
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.