29 lines
576 B
C
29 lines
576 B
C
|
#ifndef TEXTFIELDSETTINGSEDITOR_H
|
||
|
#define TEXTFIELDSETTINGSEDITOR_H
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include "ui_textfieldsettingsform.h"
|
||
|
|
||
|
class QtMaterialTextField;
|
||
|
|
||
|
class TextFieldSettingsEditor : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit TextFieldSettingsEditor(QWidget *parent = 0);
|
||
|
~TextFieldSettingsEditor();
|
||
|
|
||
|
protected slots:
|
||
|
void setupForm();
|
||
|
void updateWidget();
|
||
|
void selectColor();
|
||
|
void setShowInputLine();
|
||
|
|
||
|
private:
|
||
|
Ui::TextFieldSettingsForm *const ui;
|
||
|
QtMaterialTextField *const m_textField;
|
||
|
};
|
||
|
|
||
|
#endif // TEXTFIELDSETTINGSEDITOR_H
|