OpendTect-6_4
6.4
|
Classes | |
class | SelectionRange |
class | Setup |
Public Types | |
enum | SelectionMode { NoSelection, Single, Multi, SingleRow } |
enum | SelectionBehavior { SelectItems, SelectRows, SelectColumns } |
enum | ResizeMode { Interactive, Fixed, Stretch, ResizeToContents } |
Public Types inherited from uiObject | |
enum | SzPolicy { Undef, Small, Medium, Wide, SmallVar, MedVar, WideVar, SmallMax, MedMax, WideMax } |
How should the object's size behave? Undef : use default. Small : 1 base sz. Medium : 2* base sz + 1. Wide : 4* base sz + 3. The xxVar options specify that the element may have a bigger internal preferred size. In that case, the maximum is taken. The xxMax options specify that the element should take all available space ( stretch = 2 ) More... | |
Public Member Functions | |
uiTable (uiParent *, const Setup &, const char *nm) | |
virtual | ~uiTable () |
const char * | text (const RowCol &) const |
void | setText (const RowCol &, const char *) |
void | setText (const RowCol &, const OD::String &) |
void | setText (const RowCol &, const uiString &) |
void | clearCell (const RowCol &) |
void | clearTable () |
void | showGrid (bool) |
bool | gridShown () const |
void | setCurrentCell (const RowCol &, bool noselection=false) |
void | setCellObject (const RowCol &, uiObject *) |
uiObject * | getCellObject (const RowCol &) const |
void | clearCellObject (const RowCol &) |
RowCol | getCell (uiObject *) |
void | setCellGroup (const RowCol &, uiGroup *) |
uiGroup * | getCellGroup (const RowCol &) const |
RowCol | getCell (uiGroup *) |
void | setCellChecked (const RowCol &, bool yn) |
bool | isCellChecked (const RowCol &) const |
int | nrRows () const |
int | nrCols () const |
void | setNrRows (int) |
void | setNrCols (int) |
void | setPrefHeightInRows (int) |
int | columnWidth (int) const |
int | rowHeight (int) const |
void | setLeftMargin (int) |
void | setColumnWidth (int col, int w) |
void | setColumnWidthInChar (int col, float w) |
void | setTopMargin (int) |
void | setRowHeight (int row, int h) |
void | setRowHeightInChar (int row, float h) |
void | resizeHeaderToContents (bool hor) |
void | resizeColumnToContents (int) |
void | resizeColumnsToContents () |
void | resizeRowToContents (int) |
void | resizeRowsToContents () |
void | setColumnResizeMode (ResizeMode) |
Default is Stretch. More... | |
void | setRowResizeMode (ResizeMode) |
Default is ResizeToContents. More... | |
void | setColumnStretchable (int, bool) |
void | setRowStretchable (int, bool) |
bool | isColumnStretchable (int) const |
bool | isRowStretchable (int) const |
void | setTableReadOnly (bool) |
bool | isTableReadOnly () const |
void | setColumnReadOnly (int, bool) |
bool | isColumnReadOnly (int) const |
void | setRowReadOnly (int, bool) |
bool | isRowReadOnly (int) const |
void | setCellReadOnly (const RowCol &, bool) |
bool | isCellReadOnly (const RowCol &) const |
void | hideColumn (int, bool) |
void | hideRow (int, bool) |
bool | isColumnHidden (int) const |
bool | isRowHidden (int) const |
bool | isTopHeaderHidden () const |
bool | isLeftHeaderHidden () const |
void | setTopHeaderHidden (bool) |
void | setLeftHeaderHidden (bool) |
void | insertRows (int row, int count) |
void | insertRows (const RowCol &rc, int count) |
void | insertColumns (int col, int count) |
void | insertColumns (const RowCol &rc, int count) |
void | removeRow (int) |
void | removeRow (const RowCol &rc) |
void | removeRows (const TypeSet< int > &) |
void | removeColumn (int) |
void | removeColumn (const RowCol &rc) |
void | removeColumns (const TypeSet< int > &) |
bool | isSelected (const RowCol &) const |
bool | isRowSelected (int) const |
bool | isColumnSelected (int) const |
bool | getSelectedRows (TypeSet< int > &) const |
bool | getSelectedCols (TypeSet< int > &) const |
bool | getSelectedCells (TypeSet< RowCol > &) const |
int | currentRow () const |
int | currentCol () const |
RowCol | currentCell () const |
void | setSelected (const RowCol &, bool yn=true) |
void | selectRow (int row) |
void | selectColumn (int col) |
void | selectItems (const TypeSet< RowCol > &, bool) |
void | removeAllSelections () |
void | ensureCellVisible (const RowCol &) |
const char * | rowLabel (int) const |
const char * | rowLabel (const RowCol &rc) const |
void | setRowLabel (int, const char *) |
void | setRowLabels (const char **) |
void | setRowLabels (const BufferStringSet &) |
void | setRowLabel (const RowCol &rc, const char *lbl) |
void | setRowToolTip (int, const char *) |
void | setTopLeftCornerLabel (const uiString &) |
const char * | columnLabel (int) const |
const char * | columnLabel (const RowCol &rc) const |
void | setColumnLabel (int, const uiString &) |
void | setColumnLabels (const char **) |
void | setColumnLabels (const BufferStringSet &) |
void | setColumnLabel (const RowCol &rc, const uiString &lbl) |
void | setColumnToolTip (int, const uiString &) |
void | setCellToolTip (const RowCol &, const uiString &) |
void | setDefaultRowLabels () |
void | setDefaultColLabels () |
void | setLabelAlignment (Alignment::HPos, bool cols) |
void | setLabelBGColor (int, Color, bool isrow) |
Setup & | setup () |
const Setup & | setup () const |
const RowCol & | notifiedCell () const |
void | setNotifiedCell (const RowCol &rc) |
const TypeSet< int > & | getNotifRCs () const |
const TypeSet< RowCol > & | getNotifCells () const |
const RowCol & | newCell () const |
void | setPixmap (const RowCol &, const uiPixmap &) |
void | setColor (const RowCol &, const Color &) |
Color | getColor (const RowCol &) const |
void | setHeaderBackground (int, const Color &, bool isrow) |
Color | getHeaderBackground (int, bool isrow) const |
int | getIntValue (const RowCol &) const |
double | getDValue (const RowCol &) const |
float | getFValue (const RowCol &) const |
void | setValue (const RowCol &, int) |
void | setValue (const RowCol &, float) |
void | setValue (const RowCol &, float, int nrdec) |
void | setValue (const RowCol &, double) |
void | setValue (const RowCol &, double, int nrdec) |
void | setSelectionMode (SelectionMode) |
void | setSelectionBehavior (SelectionBehavior) |
void | editCell (const RowCol &, bool replace=false) |
const ObjectSet< SelectionRange > & | selectedRanges () const |
SelectionBehavior | getSelBehavior () const |
int | maxNrOfSelections () const |
bool | handleLongTabletPress () |
bool | needOfVirtualKeyboard () const |
void | popupVirtualKeyboard (int globalx=-1, int globaly=-1) |
double | getdValue (const RowCol &rc) const |
float | getfValue (const RowCol &rc) const |
void | setPrefWidthInChars (int) |
Public Member Functions inherited from uiObject | |
uiObject (uiParent *, const char *nm) | |
uiObject (uiParent *, const char *nm, uiObjectBody &) | |
~uiObject () | |
void | setHSzPol (SzPolicy) |
void | setVSzPol (SzPolicy) |
SzPolicy | szPol (bool hor=true) const |
virtual int | width () const |
Actual size in pixels. More... | |
virtual int | height () const |
Actual size in pixels. More... | |
virtual void | setName (const char *) |
void | setToolTip (const uiString &) |
const uiString & | toolTip () const |
void | translateText () |
void | display (bool yn, bool shrink=false, bool maximized=false) |
void | setFocus () |
bool | hasFocus () const |
void | disabFocus () |
virtual void | setCursor (const MouseCursor &) |
bool | isCursorInside () const |
virtual void | setStyleSheet (const char *) |
virtual Color | backgroundColor () const |
Color | roBackgroundColor () const |
virtual void | setBackgroundColor (const Color &) |
virtual void | setBackgroundPixmap (const uiPixmap &) |
virtual void | setTextColor (const Color &) |
void | setSensitive (bool yn=true) |
bool | sensitive () const |
bool | visible () const |
bool | isDisplayed () const |
int | prefHNrPics () const |
virtual void | setPrefWidth (int) |
void | setPrefWidthInChar (int) |
void | setPrefWidthInChar (float) |
void | setMinimumWidth (int) |
void | setMaximumWidth (int) |
int | prefVNrPics () const |
virtual void | setPrefHeight (int) |
void | setPrefHeightInChar (int) |
void | setPrefHeightInChar (float) |
void | setMinimumHeight (int) |
void | setMaximumHeight (int) |
void | setStretch (int hor, int ver) |
Sets stretch factors for object If stretch factor is > 1, then object will already grow at pop-up. More... | |
void | attach (constraintType, int margin=-1) |
attaches object to another In case the stretched... options are used, margin=-1 (default) stretches the object not to cross the border. margin=-2 stretches the object to fill the parent's border. This looks nice with separators. More... | |
void | attach (constraintType, uiObject *, int margin=-1, bool reciprocal=true) |
void | attach (constraintType, uiParent *, int margin=-1, bool reciprocal=true) |
void | setFont (const uiFont &) |
const uiFont * | font () const |
void | setCaption (const uiString &) |
void | shallowRedraw (CallBacker *=0) |
void | deepRedraw (CallBacker *=0) |
void | reDraw (bool deep) |
uiSize | actualsize (bool include_border=true) const |
uiParent * | parent () |
const uiParent * | parent () const |
void | reParent (uiParent *) |
uiMainWin * | mainwin () |
mQtclass (QWidget *) getWidget() | |
mQtclass (QWidget *) qwidget() | |
const | mQtclass (QWidget *) qwidget() const |
virtual const ObjectSet< uiBaseObject > * | childList () const |
void | close () |
Public Attributes | |
Notifier< uiTable > | valueChanged |
Notifier< uiTable > | leftClicked |
Notifier< uiTable > | rightClicked |
Notifier< uiTable > | doubleClicked |
Notifier< uiTable > | selectionChanged |
Notifier< uiTable > | rowInserted |
Notifier< uiTable > | rowDeleted |
Notifier< uiTable > | selectionDeleted |
Notifier< uiTable > | colInserted |
Notifier< uiTable > | colDeleted |
CNotifier< uiTable, int > | rowClicked |
CNotifier< uiTable, int > | columnClicked |
Public Attributes inherited from uiObject | |
Notifier< uiObject > | closed |
Triggered when object closes. More... | |
CNotifier< uiObject, uiRect & > | setGeometry |
triggered when getting a new geometry A reference to the new geometry is passed which can be manipulated, before the geometry is actually set to the QWidget. More... | |
Protected Member Functions | |
virtual void | popupMenu (CallBacker *) |
void | geometrySet_ (CallBacker *) |
void | updateCellSizes (const uiSize *sz=0) |
void | cellObjChangedCB (CallBacker *) |
bool | getSelected () |
void | removeRCs (const TypeSet< int > &, bool col) |
void | update (bool row, int nr) |
Protected Member Functions inherited from uiObject | |
virtual bool | closeOK () |
hook. Accepts/denies closing of window. More... | |
void | triggerSetGeometry (const i_LayoutItem *, uiRect &) |
setGeometry should be triggered by this's layoutItem More... | |
void | updateToolTip (CallBacker *=0) |
Protected Attributes | |
ObjectSet< SelectionRange > | selranges_ |
RowCol | notifcell_ |
TypeSet< RowCol > | notifcells_ |
TypeSet< int > | notifrows_ |
TypeSet< int > | notifcols_ |
bool | seliscols_ |
RowCol | newcell_ |
Setup | setup_ |
OD::ButtonState | buttonstate_ |
bool | istablereadonly_ |
Protected Attributes inherited from uiObject | |
uiString | tooltip_ |
uiObjEventFilter * | uiobjeventfilter_ |
Private Member Functions | |
mODTextTranslationClass (uiTable) friend class i_tableMessenger | |
uiTableBody & | mkbody (uiParent *, const char *, int, int) |
Private Attributes | |
uiTableBody * | body_ |
uiLabel * | cornerlabel_ |
uiSize | lastsz |
Friends | |
class | uiTableBody |
Additional Inherited Members | |
Static Public Member Functions inherited from uiObject | |
static void | updateToolTips () |
static void | setTabOrder (uiObject *first, uiObject *second) |
static int | baseFldSize () |
static int | iconSize () |
enum uiTable::ResizeMode |
|
virtual |
|
protected |
void uiTable::clearCell | ( | const RowCol & | ) |
void uiTable::clearCellObject | ( | const RowCol & | ) |
void uiTable::clearTable | ( | ) |
const char* uiTable::columnLabel | ( | int | ) | const |
|
inline |
int uiTable::columnWidth | ( | int | ) | const |
|
inline |
int uiTable::currentCol | ( | ) | const |
int uiTable::currentRow | ( | ) | const |
void uiTable::editCell | ( | const RowCol & | , |
bool | replace = false |
||
) |
void uiTable::ensureCellVisible | ( | const RowCol & | ) |
|
protected |
double uiTable::getDValue | ( | const RowCol & | ) | const |
|
inline |
float uiTable::getFValue | ( | const RowCol & | ) | const |
|
inline |
Color uiTable::getHeaderBackground | ( | int | , |
bool | isrow | ||
) | const |
int uiTable::getIntValue | ( | const RowCol & | ) | const |
|
inline |
SelectionBehavior uiTable::getSelBehavior | ( | ) | const |
|
protected |
bool uiTable::getSelectedCols | ( | TypeSet< int > & | ) | const |
bool uiTable::getSelectedRows | ( | TypeSet< int > & | ) | const |
bool uiTable::gridShown | ( | ) | const |
|
virtual |
Reimplemented from uiObject.
void uiTable::hideColumn | ( | int | , |
bool | |||
) |
void uiTable::hideRow | ( | int | , |
bool | |||
) |
void uiTable::insertColumns | ( | int | col, |
int | count | ||
) |
|
inline |
void uiTable::insertRows | ( | int | row, |
int | count | ||
) |
|
inline |
bool uiTable::isCellChecked | ( | const RowCol & | ) | const |
bool uiTable::isCellReadOnly | ( | const RowCol & | ) | const |
bool uiTable::isColumnHidden | ( | int | ) | const |
bool uiTable::isColumnReadOnly | ( | int | ) | const |
bool uiTable::isColumnSelected | ( | int | ) | const |
bool uiTable::isColumnStretchable | ( | int | ) | const |
bool uiTable::isLeftHeaderHidden | ( | ) | const |
bool uiTable::isRowHidden | ( | int | ) | const |
bool uiTable::isRowReadOnly | ( | int | ) | const |
bool uiTable::isRowSelected | ( | int | ) | const |
bool uiTable::isRowStretchable | ( | int | ) | const |
bool uiTable::isSelected | ( | const RowCol & | ) | const |
bool uiTable::isTableReadOnly | ( | ) | const |
bool uiTable::isTopHeaderHidden | ( | ) | const |
int uiTable::maxNrOfSelections | ( | ) | const |
|
private |
|
private |
bool uiTable::needOfVirtualKeyboard | ( | ) | const |
|
inline |
|
inline |
int uiTable::nrCols | ( | ) | const |
int uiTable::nrRows | ( | ) | const |
|
protectedvirtual |
Reimplemented in uiStratUnitDivideDlg::uiDivideTable.
void uiTable::popupVirtualKeyboard | ( | int | globalx = -1 , |
int | globaly = -1 |
||
) |
void uiTable::removeAllSelections | ( | ) |
void uiTable::removeColumn | ( | int | ) |
|
inline |
void uiTable::removeColumns | ( | const TypeSet< int > & | ) |
|
protected |
void uiTable::removeRow | ( | int | ) |
|
inline |
void uiTable::removeRows | ( | const TypeSet< int > & | ) |
void uiTable::resizeColumnsToContents | ( | ) |
void uiTable::resizeColumnToContents | ( | int | ) |
void uiTable::resizeHeaderToContents | ( | bool | hor | ) |
void uiTable::resizeRowsToContents | ( | ) |
void uiTable::resizeRowToContents | ( | int | ) |
int uiTable::rowHeight | ( | int | ) | const |
const char* uiTable::rowLabel | ( | int | ) | const |
|
inline |
void uiTable::selectColumn | ( | int | col | ) |
const ObjectSet<SelectionRange>& uiTable::selectedRanges | ( | ) | const |
void uiTable::selectRow | ( | int | row | ) |
void uiTable::setCellChecked | ( | const RowCol & | , |
bool | yn | ||
) |
void uiTable::setCellReadOnly | ( | const RowCol & | , |
bool | |||
) |
void uiTable::setColumnLabel | ( | int | , |
const uiString & | |||
) |
void uiTable::setColumnLabels | ( | const char ** | ) |
void uiTable::setColumnLabels | ( | const BufferStringSet & | ) |
void uiTable::setColumnReadOnly | ( | int | , |
bool | |||
) |
void uiTable::setColumnResizeMode | ( | ResizeMode | ) |
Default is Stretch.
void uiTable::setColumnStretchable | ( | int | , |
bool | |||
) |
void uiTable::setColumnToolTip | ( | int | , |
const uiString & | |||
) |
void uiTable::setColumnWidth | ( | int | col, |
int | w | ||
) |
void uiTable::setColumnWidthInChar | ( | int | col, |
float | w | ||
) |
void uiTable::setCurrentCell | ( | const RowCol & | , |
bool | noselection = false |
||
) |
void uiTable::setDefaultColLabels | ( | ) |
void uiTable::setDefaultRowLabels | ( | ) |
void uiTable::setHeaderBackground | ( | int | , |
const Color & | , | ||
bool | isrow | ||
) |
void uiTable::setLabelAlignment | ( | Alignment::HPos | , |
bool | cols | ||
) |
void uiTable::setLabelBGColor | ( | int | , |
Color | , | ||
bool | isrow | ||
) |
void uiTable::setLeftHeaderHidden | ( | bool | ) |
void uiTable::setLeftMargin | ( | int | ) |
|
inline |
void uiTable::setNrCols | ( | int | ) |
void uiTable::setNrRows | ( | int | ) |
void uiTable::setPrefHeightInRows | ( | int | ) |
void uiTable::setPrefWidthInChars | ( | int | ) |
void uiTable::setRowHeight | ( | int | row, |
int | h | ||
) |
void uiTable::setRowHeightInChar | ( | int | row, |
float | h | ||
) |
void uiTable::setRowLabel | ( | int | , |
const char * | |||
) |
|
inline |
void uiTable::setRowLabels | ( | const char ** | ) |
void uiTable::setRowLabels | ( | const BufferStringSet & | ) |
void uiTable::setRowReadOnly | ( | int | , |
bool | |||
) |
void uiTable::setRowResizeMode | ( | ResizeMode | ) |
Default is ResizeToContents.
void uiTable::setRowStretchable | ( | int | , |
bool | |||
) |
void uiTable::setRowToolTip | ( | int | , |
const char * | |||
) |
void uiTable::setSelected | ( | const RowCol & | , |
bool | yn = true |
||
) |
void uiTable::setSelectionBehavior | ( | SelectionBehavior | ) |
void uiTable::setSelectionMode | ( | SelectionMode | ) |
void uiTable::setTableReadOnly | ( | bool | ) |
void uiTable::setText | ( | const RowCol & | , |
const char * | |||
) |
void uiTable::setText | ( | const RowCol & | , |
const OD::String & | |||
) |
void uiTable::setTopHeaderHidden | ( | bool | ) |
void uiTable::setTopLeftCornerLabel | ( | const uiString & | ) |
void uiTable::setTopMargin | ( | int | ) |
|
inline |
|
inline |
void uiTable::setValue | ( | const RowCol & | , |
int | |||
) |
void uiTable::setValue | ( | const RowCol & | , |
float | |||
) |
void uiTable::setValue | ( | const RowCol & | , |
float | , | ||
int | nrdec | ||
) |
void uiTable::setValue | ( | const RowCol & | , |
double | |||
) |
void uiTable::setValue | ( | const RowCol & | , |
double | , | ||
int | nrdec | ||
) |
void uiTable::showGrid | ( | bool | ) |
const char* uiTable::text | ( | const RowCol & | ) | const |
|
protected |
|
protected |
|
friend |
|
private |
|
protected |
|
private |
|
protected |
|
mutableprivate |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019