Ocular Engine
Ocular::Editor::ButtonFileBrowse Class Reference

#include <ButtonFileBrowse.hpp>

Inheritance diagram for Ocular::Editor::ButtonFileBrowse:

Public Member Functions

 ButtonFileBrowse (QWidget *parent=nullptr)
virtual QSize sizeHint () const override
bool wasEdited (bool reset=true)
void setNameFilter (std::string const &filter)
std::string const & getSelectedFile () const

Detailed Description

Helper class implementation of QPushButton for selecting files.

Member Function Documentation

void Ocular::Editor::ButtonFileBrowse::setNameFilter ( std::string const &  filter)

See QFileDialog::setNameFilter

bool Ocular::Editor::ButtonFileBrowse::wasEdited ( bool  reset = true)
[in]resetIf TRUE, then the edited flag is reset back to FALSE.
TRUE if the user has modifed this edit.

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