Ocular Engine
Ocular::Editor::ButtonColorPicker Class Reference

#include <ButtonColorPicker.hpp>

Inheritance diagram for Ocular::Editor::ButtonColorPicker:

Public Member Functions

 ButtonColorPicker (QWidget *parent=nullptr)
 
virtual QSize sizeHint () const override
 
bool wasEdited (bool reset=true)
 
Core::Color const & getSelectedColor () const
 

Detailed Description

Helper class implementation of QPushButton for picking colors.

Member Function Documentation

bool Ocular::Editor::ButtonColorPicker::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: