MT Showcase SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Showcase::InputFieldWidget Class Reference

Input field that has: More...

#include <InputFieldWidget.hpp>

Inherits ImageTileWidget.

Public Member Functions

void setValidator (std::function< bool(const QString &)> validator)
 

Detailed Description

Input field that has:

  • TextEditWidget
  • A frame that is rendered outside text edit widget
  • Input validation with a lambda
  • Input validation visualization after explicitly calling showErrors or after first time editing has finished
  • Input validation "tooltip"
  • Marking required fields as '*'
  • Placeholder text

Member Function Documentation

void Showcase::InputFieldWidget::setValidator ( std::function< bool(const QString &)>  validator)