Choreonoid  1.8
Public Member Functions | List of all members
cnoid::FileDialog Class Reference

#include <FileDialog.h>

Inheritance diagram for cnoid::FileDialog:
cnoid::ItemFileDialog

Public Member Functions

 FileDialog ()
 
 FileDialog (QWidget *parent, Qt::WindowFlags f=0)
 
 ~FileDialog ()
 
void updatePresetDirectories ()
 
bool selectFilePath (const std::string &filePath)
 
void insertOptionPanel (QWidget *panel)
 
SignalProxy< void(int index)> sigFilterSelected ()
 
SignalProxy< bool(int result), LogicalProductsigAboutToFinished ()
 
virtual int exec () override
 
QFileDialog * fileDialog ()
 
QDir directory () const
 
QStringList nameFilters () const
 
QStringList selectedFiles () const
 
void selectFile (const QString &filename)
 
void selectFile (const std::string &filename)
 
void setAcceptMode (QFileDialog::AcceptMode mode)
 
void setDirectory (const QString &directory)
 
void setDirectory (const std::string &directory)
 
void setFileMode (QFileDialog::FileMode mode)
 
void setLabelText (QFileDialog::DialogLabel label, const QString &text)
 
void setNameFilter (const QString &filter)
 
void setNameFilters (const QStringList &filters)
 
void setOption (QFileDialog::Option option, bool on=true)
 
void setViewMode (QFileDialog::ViewMode mode)
 
void selectNameFilter (int index)
 

Constructor & Destructor Documentation

◆ FileDialog() [1/2]

FileDialog::FileDialog ( )

◆ FileDialog() [2/2]

FileDialog::FileDialog ( QWidget *  parent,
Qt::WindowFlags  f = 0 
)

◆ ~FileDialog()

FileDialog::~FileDialog ( )

Member Function Documentation

◆ directory()

QDir FileDialog::directory ( ) const

◆ exec()

int FileDialog::exec ( )
overridevirtual

◆ fileDialog()

QFileDialog * FileDialog::fileDialog ( )

◆ insertOptionPanel()

void FileDialog::insertOptionPanel ( QWidget *  panel)

◆ nameFilters()

QStringList FileDialog::nameFilters ( ) const

◆ selectedFiles()

QStringList FileDialog::selectedFiles ( ) const

◆ selectFile() [1/2]

void FileDialog::selectFile ( const QString &  filename)

◆ selectFile() [2/2]

void FileDialog::selectFile ( const std::string &  filename)

◆ selectFilePath()

bool FileDialog::selectFilePath ( const std::string &  filePath)

◆ selectNameFilter()

void FileDialog::selectNameFilter ( int  index)

◆ setAcceptMode()

void FileDialog::setAcceptMode ( QFileDialog::AcceptMode  mode)

◆ setDirectory() [1/2]

void FileDialog::setDirectory ( const QString &  directory)

◆ setDirectory() [2/2]

void FileDialog::setDirectory ( const std::string &  directory)

◆ setFileMode()

void FileDialog::setFileMode ( QFileDialog::FileMode  mode)

◆ setLabelText()

void FileDialog::setLabelText ( QFileDialog::DialogLabel  label,
const QString &  text 
)

◆ setNameFilter()

void FileDialog::setNameFilter ( const QString &  filter)

◆ setNameFilters()

void FileDialog::setNameFilters ( const QStringList &  filters)

◆ setOption()

void FileDialog::setOption ( QFileDialog::Option  option,
bool  on = true 
)

◆ setViewMode()

void FileDialog::setViewMode ( QFileDialog::ViewMode  mode)

◆ sigAboutToFinished()

SignalProxy< bool(int result), LogicalProduct > FileDialog::sigAboutToFinished ( )

◆ sigFilterSelected()

SignalProxy< void(int index)> FileDialog::sigFilterSelected ( )

◆ updatePresetDirectories()

void FileDialog::updatePresetDirectories ( )

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