UNIVERS
15.3
UNIVERS base processing software API
|
#include <ldb_tree_wid.hpp>
Public Slots | |
virtual void | refreshTree () |
Public Slots inherited from hds::DbTreeWid | |
virtual void | refreshTree () |
virtual void | expandTree () |
virtual void | collapseTree () |
Signals | |
void | openSeismicRequested (const QString &project_str, const QString &name_str) |
void | openDbtRequested (const QString &project_str, const QString &name_str) |
void | openJobRequested (const QString &project_str, const QString &fname_str) |
Signals inherited from hds::DbTreeWid | |
void | itemChanged (const int type, const QString &project, const QString &name) |
void | errorOccurred (const int &ec) |
Public Member Functions | |
LdbTreeWid (QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual | ~LdbTreeWid () |
int | init () |
Public Member Functions inherited from hds::DbTreeWid | |
DbTreeWid (QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual | ~DbTreeWid () |
void | selectProject (const QString &project_str) |
void | setRemoveObjectsMode (const bool mode) |
void | setOpenObjectsMode (const bool mode) |
Protected Slots | |
virtual void | openObject (QTreeWidgetItem *pitem) |
virtual void | removeObject (QTreeWidgetItem *pitem) |
virtual void | longJobStateInit () |
virtual void | changeCurrentItem (QTreeWidgetItem *cur_item, QTreeWidgetItem *prev_item) |
virtual void | expandItem (QTreeWidgetItem *item) |
virtual void | setProjectSizeStr (const QString &project_str, const QString &size_str, const QString &descr_str) |
virtual void | setSeismicsList (const QString &project_str, const QStringList &seis_list, const QStringList &size_list) |
virtual void | setDbtList (const QString &project_str, const QString &tt_str, const impl::LdbDbtList &list) |
virtual void | setJobs (const QString &project_str, const impl::LdbJobsMap &jobs_map) |
Protected Slots inherited from hds::DbTreeWid | |
virtual void | showContextMenu (QPoint pos) |
virtual void | openObject (QTreeWidgetItem *) |
virtual void | removeObject (QTreeWidgetItem *) |
virtual void | changeCurrentItem (QTreeWidgetItem *, QTreeWidgetItem *) |
Protected Member Functions | |
int | init_projects () |
int | init_dbt_folders (const QString &project_str, QTreeWidgetItem *parent_item) |
Protected Member Functions inherited from hds::DbTreeWid | |
QTreeWidget * | ptw () |
const QTreeWidget * | ptw () const |
const QPoint & | contextMenuPos () const |
virtual QTreeWidgetItem * | newTreeWidgetItem (const ItemType type, const QString &name, QTreeWidgetItem *parent=NULL) const |
QTreeWidgetItem * | projectItem (QTreeWidgetItem *item) const |
QTreeWidgetItem * | projectItem (const QString &project_str) const |
QString | projectNameStr (QTreeWidgetItem *item) const |
int | itemOptions (const QTreeWidgetItem *item) const |
void | setItemOptions (QTreeWidgetItem *item, const int &mask) const |
virtual bool | event (QEvent *ev) |
Additional Inherited Members | |
Public Types inherited from hds::DbTreeWid | |
enum | ItemType { IT_NONE = QTreeWidgetItem::UserType, IT_PROJECT, IT_FOLDER, IT_SEISMIC, IT_TABLE } |
enum | ItemOptions { IOM_OPENABLE = 1, IOM_REMOVABLE = 2, IOM_SELECTABLE = 4 } |
UNIVERS local data base tree widget.
hds::LdbTreeWid::LdbTreeWid | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Default widget constructor.
|
virtual |
Destroy widget.
|
protectedvirtualslot |
Select item.
cur_item | Current selected item. |
prev_item | Previous selected item. |
|
protectedvirtualslot |
Expand item.
int hds::LdbTreeWid::init | ( | ) |
Initialize widget from LDB database.
|
protected |
Initialize list of folders for tables of different types
inside provided project. Update resulted list of items.
|
protected |
Initialize list of projects.
|
protectedvirtualslot |
Initialize long job state. Just overrides cursor.
|
signal |
Emits when DB table of provided project and provided
name requested to be opened.
|
signal |
Emits when job of provided project and provided
file name requested to be opened.
|
protectedvirtualslot |
Open selected database object.
|
signal |
Emits when seismic of provided project and provided
name requested to be opened.
|
virtualslot |
Refresh current tree.
|
protectedvirtualslot |
Remove selected database object.
|
protectedvirtualslot |
Set list of db tables for project with provided name.
|
protectedvirtualslot |
Set jobs.
|
protectedvirtualslot |
Set size of project with provided name to provided size string.
|
protectedvirtualslot |
Set list of seismics for project with provided name.