![]() |
OpendTect-6_4
6.4
|
A file-name input. More...
Classes | |
class | Setup |
Public Member Functions | |
uiFileInput (uiParent *, const uiString &seltxt, const char *fnm=0) | |
uiFileInput (uiParent *, const uiString &seltxt, const Setup &) | |
~uiFileInput () | |
void | setFileName (const char *) |
void | setDefaultSelectionDir (const char *) |
const char * | defaultSelectionDir () const |
void | setFilter (const char *fltr) |
const char * | selectedFilter () const |
void | setSelectedFilter (const char *f) |
void | setObjType (const uiString &s) |
void | setExamine (const CallBack &cb) |
Overrules the simple stand-alone file browser. More... | |
const char * | fileName () const |
const char * | pathOnly () const |
const char * | baseName () const |
void | getFileNames (BufferStringSet &) const |
uiFileDialog::Mode | selectMode () const |
void | setSelectMode (uiFileDialog::Mode m) |
void | setSensitive (bool yn) |
void | enableExamine (bool) |
only if examinebut present More... | |
void | setDefaultExtension (const char *ext) |
void | selectFile (CallBacker *cb) |
![]() | |
double | getdValue (int nr=0, double uv=mUdf(double)) const |
double | getdValue (float undefval) const |
float | getfValue (int nr=0, float udfval=mUdf(float)) const |
float | getfValue (float undefval) const |
bool | isChecked () |
bool | isCheckable () |
![]() | |
uiGroup (uiParent *, const char *nm="uiGroup", bool manage=true) | |
virtual | ~uiGroup () |
operator const uiGroupObj * () const | |
operator uiGroupObj * () | |
operator const uiObject & () const | |
operator uiObject & () | |
uiObject * | attachObj () |
const uiObject * | attachObj () const |
uiParent * | parent () |
const uiParent * | parent () const |
void | setHSpacing (int) |
void | setVSpacing (int) |
void | setSpacing (int s=0) |
void | setBorder (int) |
void | setFrame (bool yn=true) |
void | setNoBackGround () |
uiObject * | hAlignObj () |
void | setHAlignObj (uiObject *o) |
void | setHAlignObj (uiGroup *o) |
uiObject * | hCenterObj () |
void | setHCenterObj (uiObject *o) |
void | setHCenterObj (uiGroup *o) |
void | setIsMain (bool) |
internal use only. Tells the layout manager it's a toplevel mngr. More... | |
virtual uiMainWin * | mainwin () |
void | setChildrenSensitive (bool) |
virtual Notifier< uiBaseObject > & | preFinalise () |
virtual Notifier< uiBaseObject > & | postFinalise () |
virtual void | setSize (const uiSize &) |
![]() | |
uiParent (const char *nm, uiParentBody *) | |
void | addChild (uiBaseObject &) |
void | manageChld (uiBaseObject &, uiObjectBody &) |
void | attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal) |
const ObjectSet< uiBaseObject > * | childList () const |
uiObject * | mainObject () |
const uiObject * | mainObject () const |
uiParentBody * | pbody () |
const uiParentBody * | pbody () const |
void | attach (constraintType t, int margin=-1) |
void | attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true) |
void | attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true) |
virtual void | display (bool yn, bool shrk=false, bool maximize=false) |
bool | isDisplayed () const |
void | setFocus () |
bool | hasFocus () const |
void | setSensitive (bool yn=true) |
bool | sensitive () const |
const uiFont * | font () const |
void | setFont (const uiFont &f) |
void | setCaption (const uiString &c) |
void | setCursor (const MouseCursor &c) |
uiSize | actualsize (bool include_border) const |
int | prefHNrPics () const |
int | prefVNrPics () const |
void | setPrefHeight (int h) |
void | setPrefWidth (int w) |
void | setPrefHeightInChar (int h) |
void | setPrefHeightInChar (float h) |
void | setPrefWidthInChar (float w) |
void | setPrefWidthInChar (int w) |
virtual void | reDraw (bool deep) |
void | shallowRedraw (CallBacker *=0) |
void | deepRedraw (CallBacker *=0) |
void | setStretch (int h, int v) |
Color | backgroundColor () const |
Color | roBackgroundColor () const |
void | setBackgroundColor (const Color &c) |
void | translateText () |
Protected Member Functions | |
virtual void | doSelect (CallBacker *) |
Select is pressed. Called by doSelect_. More... | |
void | inputChg (CallBacker *) |
void | examineFile (CallBacker *) |
void | isFinalised (CallBacker *) |
void | fnmEntered (CallBacker *) |
![]() | |
void | doSelect_ (CallBacker *) |
Select is pressed. Calls virtual doSelect. More... | |
void | doClear (CallBacker *) |
void | checkBoxSel (CallBacker *) |
uiGenInputInputFld & | createInpFld (const DataInpSpec &) |
DataInpField factory. More... | |
void | doFinalise (CallBacker *) |
DataInpSpec * | spec (int nr) |
![]() | |
virtual uiObject * | mainobject () |
virtual void | attach_ (constraintType, uiObject *oth, int margin=-1, bool reciprocal=true) |
virtual void | reDraw_ (bool deep) |
void | setShrinkAllowed (bool) |
bool | shrinkAllowed () |
void | bodyDel (CallBacker *) |
void | uiobjDel (CallBacker *) |
void | setFrameStyle (int) |
void | reSizeChildren (const uiObject *, float, float) |
Protected Attributes | |
bool | forread_ |
BufferString | filter_ |
BufferString | defseldir_ |
bool | displaylocalpath_ |
BufferString | selfltr_ |
bool | addallexts_ |
File::ViewStyle | examstyle_ |
bool | exameditable_ |
bool | confirmoverwrite_ |
CallBack | excb_ |
BufferString | defaultext_ |
uiString | objtype_ |
bool | selmodset_ |
uiFileDialog::Mode | selmode_ |
uiFileDialog::Type | filedlgtype_ |
uiButton * | examinebut_ |
![]() | |
ObjectSet< uiGenInputInputFld > | flds_ |
TypeSet< uiGenInputFieldIdx > & | idxes_ |
bool | finalised_ |
uiString | selText_ |
bool | withchk_ |
bool | isrequired_ |
uiLabel * | labl_ |
uiString | titletext_ |
uiCheckBox * | cbox_ |
uiButton * | selbut_ |
![]() | |
uiGroupObj * | grpobj_ |
uiGroupParentBody * | body_ |
Private Member Functions | |
mODTextTranslationClass (uiFileInput) | |
Additional Inherited Members | |
![]() | |
static uiGroup * | gtDynamicCastToGrp (mQtclass(QWidget *)) |
A file-name input.
Displays a uiLineEdit field showing the current selected file. The user can edit the filename by hand, or pop up a file selector trough the included "Select..." push button. Optional is an Examine button for browsing the file.
The filter you specify will automatically get an 'All files' added unless you specify otherwise in the setup.
uiFileInput::~uiFileInput | ( | ) |
const char* uiFileInput::baseName | ( | ) | const |
|
inline |
|
protectedvirtual |
Select is pressed. Called by doSelect_.
Reimplemented from uiGenInput.
void uiFileInput::enableExamine | ( | bool | ) |
only if examinebut present
|
protected |
const char* uiFileInput::fileName | ( | ) | const |
|
protected |
void uiFileInput::getFileNames | ( | BufferStringSet & | ) | const |
|
protected |
|
protected |
|
private |
const char* uiFileInput::pathOnly | ( | ) | const |
|
inline |
|
inline |
|
inline |
void uiFileInput::setDefaultExtension | ( | const char * | ext | ) |
void uiFileInput::setDefaultSelectionDir | ( | const char * | ) |
|
inline |
Overrules the simple stand-alone file browser.
void uiFileInput::setFileName | ( | const char * | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at 12/02/2019 10:57:00 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019