cutelystforms  0.0.1
A Cutelyst plugin to load forms data from QML files.
Protected Member Functions | List of all members
CutelystForms::Forms Class Reference

Provides loading and processing HTML form data written in QML. More...

#include <CutelystForms/Forms>

Inherits Plugin.

Protected Member Functions

bool setup (Cutelyst::Application *app) override
 Sets the Forms plugin up to be used by app. More...
 

Detailed Description

Provides loading and processing HTML form data written in QML.

Logging

Information is logged to the cutelyst.forms logging category. Warnings from the internal QQmlEngine will also be redirected to this category.

Building and using

The plugin is linked to Cutelyst Core API, QtCore and QtQml. If the CSRFProtection plugin is enabled, it will also be linked against that. To use it in your application, link your application to Cutelyst::Forms.

The Forms plugin class.

Member Function Documentation

◆ setup()

bool Forms::setup ( Cutelyst::Application *  app)
overrideprotected

Sets the Forms plugin up to be used by app.