mirror of
https://github.com/InoriRus/Kyty.git
synced 2026-08-28 05:06:40 +00:00
add launcher
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#ifndef MANDATORY_LINEEDIT_H
|
||||
#define MANDATORY_LINEEDIT_H
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
#include <QLineEdit>
|
||||
#include <QString>
|
||||
|
||||
class QPaintEvent;
|
||||
class QWidget;
|
||||
|
||||
constexpr char MANDATORY_AND_EMPTY[] = "mandatory_and_empty";
|
||||
|
||||
class MandatoryLineEdit: public QLineEdit
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MandatoryLineEdit(QWidget* parent = nullptr);
|
||||
|
||||
void paintEvent(QPaintEvent* event) override;
|
||||
|
||||
static bool FindEmpty(QObject* p);
|
||||
|
||||
protected slots:
|
||||
|
||||
void changed(const QString& text);
|
||||
};
|
||||
|
||||
#endif // MANDATORY_LINEEDIT_H
|
||||
Reference in New Issue
Block a user