OpenStructure
Public Slots | Public Member Functions | Protected Member Functions
FileBrowser Class Reference

#include <file_browser.hh>

Inherits Widget.

Public Slots

void Refresh ()
 

Public Member Functions

 FileBrowser (QWidget *parent=NULL)
 
 FileBrowser (const QString &path, QWidget *parent=NULL)
 
virtual ActionList GetActions ()
 
virtual bool Save (const QString &prefix)
 
virtual bool Restore (const QString &prefix)
 
- Public Member Functions inherited from Widget
 Widget (QWidget *widget, QWidget *parent=NULL)
 
void SetDestroyOnClose (bool flag)
 
bool DestroyOnClose () const
 
QWidget * GetInternalWidget ()
 
void SetInternalWidget (QWidget *widget)
 
const QString & GetUniqueID () const
 
void SetUniqueID (const QString &id)
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event)
 

Detailed Description

a simplistic file browser

Definition at line 40 of file file_browser.hh.

Constructor & Destructor Documentation

◆ FileBrowser() [1/2]

FileBrowser ( QWidget *  parent = NULL)

◆ FileBrowser() [2/2]

FileBrowser ( const QString &  path,
QWidget *  parent = NULL 
)

Member Function Documentation

◆ GetActions()

virtual ActionList GetActions ( )
virtual

get Widget specific actions

Reimplemented from Widget.

◆ keyPressEvent()

virtual void keyPressEvent ( QKeyEvent *  event)
protectedvirtual

◆ Refresh

void Refresh ( )
slot

◆ Restore()

virtual bool Restore ( const QString &  prefix)
virtual

Implements Widget.

◆ Save()

virtual bool Save ( const QString &  prefix)
virtual

Implements Widget.


The documentation for this class was generated from the following file: