![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
#include <seismic_sel_dlg.hpp>
Public Member Functions | |
| SeismicSelDlg (QWidget *parent=0, Qt::WindowFlags f=0) | |
| SeismicSelDlg (const QString &project, QWidget *parent=0, Qt::WindowFlags f=0) | |
| SeismicSelDlg (const QString &project, bool new_seismic_flag, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~SeismicSelDlg () |
| int | operator() (const QString &prj) |
| virtual void | update () |
| QString | current () const |
| void | setCurrent (const QString &name) |
| QString | project () const |
| void | setProject (const QString &project) |
| void | setNewSeismicSelectionMode (const bool flag) |
Public Member Functions inherited from hds::SelectionDialog | |
| SelectionDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~SelectionDialog () |
| int | operator() () |
Public Member Functions inherited from hds::Dialog | |
| Dialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~Dialog () |
| virtual void | show () |
| virtual void | showModal () |
| virtual void | hide () |
| virtual int | exec () |
| void | setButtonsMask (int mask) |
| int | buttonsMask () const |
| QWidget & | mainWidget () |
Protected Slots | |
| void | itemDoubleClickedSlot (QListWidgetItem *item) |
Protected Member Functions | |
| void | setup_gui (Qt::WindowFlags f) |
| ListSelectorWid & | selWid () |
| const ListSelectorWid & | selWid () const |
Protected Member Functions inherited from hds::SelectionDialog | |
| QGridLayout & | mainGridLayout () |
Protected Member Functions inherited from hds::Dialog | |
| virtual void | buttonClicked (const hds::Dialog::Button &button_type) |
Protected Attributes | |
| ListSelectorWid * | mp_sel_wid |
| QString | m_project |
| bool | m_new_seismic_flag |
Additional Inherited Members | |
Public Types inherited from hds::Dialog | |
| enum | Button { OK_BUTTON = 1, APPLY_BUTTON = 2, CANCEL_BUTTON = 4 } |
Seismic file selection dialog.
| hds::SeismicSelDlg::SeismicSelDlg | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Default constructor of the dialog. Null stirng project by default.
New seismic selection is disabled.
| hds::SeismicSelDlg::SeismicSelDlg | ( | const QString & | project, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor of the dialog with project provided.
New seismic selection is disabled.
| hds::SeismicSelDlg::SeismicSelDlg | ( | const QString & | project, |
| bool | new_seismic_flag, | ||
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor of the dialog with project provided.
| new_seismic_flag | New seismic selection flag. If true => new seismic can be selected. |
|
virtual |
Destructor.
| QString hds::SeismicSelDlg::current | ( | ) | const |
Current selected seismic, null string if not selected.
|
protectedslot |
Double click on list item.
| int hds::SeismicSelDlg::operator() | ( | const QString & | prj | ) |
Update list of seiemics for new project provided and
execute dialog using QDialog::exec().
| QString hds::SeismicSelDlg::project | ( | ) | const |
Project for seismic taken from.
|
inlineprotected |
Access to list selection widget.
|
inlineprotected |
Access to list selection widget.
| void hds::SeismicSelDlg::setCurrent | ( | const QString & | name | ) |
Set seismic file with provided name as current one.
Do nothing if no such seismic file.
| void hds::SeismicSelDlg::setNewSeismicSelectionMode | ( | const bool | flag | ) |
Set new seismic selection flag.
| void hds::SeismicSelDlg::setProject | ( | const QString & | project | ) |
Set project. Rebuild list of seismic.
|
protected |
Setup the gui.
|
virtual |
Update list of seismics. Should be used both after
project has changed and when probably data has changed in the project.
Reimplemented from hds::SelectionDialog.
|
protected |
New seismic selection flag.
|
protected |
< List selector widget widget. Current project.
1.8.5