Ocular Engine
Ocular::Editor::ButtonResourceBrowse Class Reference

#include <ButtonResourceBrowse.hpp>

Inheritance diagram for Ocular::Editor::ButtonResourceBrowse:

Public Member Functions

 ButtonResourceBrowse (QWidget *parent=nullptr)
 
virtual QSize sizeHint () const override
 
bool wasEdited (bool reset=true)
 
void setResourceType (Core::ResourceType type)
 
std::string const & getSelectedResource () const
 

Detailed Description

Helper class implementation of QPushButton for selecting resources.

Member Function Documentation

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

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