Choreonoid
1.8
|
#include <ItemFileDialog.h>
Public Member Functions | |
ItemFileDialog () | |
ItemFileDialog (QWidget *parent) | |
~ItemFileDialog () | |
template<class ItemType > | |
void | setRegisteredFileIOsFor () |
void | setFileIOs (const std::vector< ItemFileIO * > &fileIOs) |
void | setFileIO (ItemFileIO *fileIO) |
void | clearFileIOs () |
ItemList< Item > | loadItems (Item *parentItem=nullptr, bool doAddition=true, Item *nextItem=nullptr) |
void | setExportMode (bool on=true) |
bool | saveItem (Item *item) |
Public Member Functions inherited from cnoid::FileDialog | |
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), LogicalProduct > | sigAboutToFinished () |
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) |
Static Public Member Functions | |
static QString | makeNameFilter (const std::string &caption, const std::vector< std::string > &extensions, bool isAnyEnabled=false) |
ItemFileDialog::ItemFileDialog | ( | ) |
ItemFileDialog::ItemFileDialog | ( | QWidget * | parent | ) |
ItemFileDialog::~ItemFileDialog | ( | ) |
void ItemFileDialog::clearFileIOs | ( | ) |
ItemList< Item > ItemFileDialog::loadItems | ( | Item * | parentItem = nullptr , |
bool | doAddition = true , |
||
Item * | nextItem = nullptr |
||
) |
|
static |
bool ItemFileDialog::saveItem | ( | Item * | item | ) |
void ItemFileDialog::setExportMode | ( | bool | on = true | ) |
void ItemFileDialog::setFileIO | ( | ItemFileIO * | fileIO | ) |
void ItemFileDialog::setFileIOs | ( | const std::vector< ItemFileIO * > & | fileIOs | ) |
|
inline |