|
Ocular Engine
|
#include <LineEdit.hpp>
Public Member Functions | |
| LineEdit (LineType type, QWidget *parent=nullptr) | |
| bool | wasEdited (bool reset=true) |
| void | setInvalid (bool invalid) |
| int32_t | asInt () const |
| uint32_t | asUint () const |
| float | asFloat () const |
| template<typename T > | |
| T | as () const |
Helper class that automatically handles input mask, etc. setup based on the specified LineType.
| bool Ocular::Editor::LineEdit::wasEdited | ( | bool | reset = true | ) |
| [in] | reset | If TRUE, then the edited flag is reset back to FALSE. |