Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
#ifndef _KLINEEDITTEST_H
|
||||
#define _KLINEEDITTEST_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QString;
|
||||
class QPushButton;
|
||||
|
||||
class KLineEdit;
|
||||
|
||||
class KLineEditTest : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
KLineEditTest(QWidget *parent = nullptr);
|
||||
~KLineEditTest() override;
|
||||
KLineEdit *lineEdit() const
|
||||
{
|
||||
return m_lineedit;
|
||||
}
|
||||
|
||||
public Q_SLOTS:
|
||||
virtual void show();
|
||||
|
||||
private Q_SLOTS:
|
||||
void quitApp();
|
||||
void slotHide();
|
||||
void slotEnable(bool);
|
||||
void slotReadOnly(bool);
|
||||
void slotPassword(bool);
|
||||
void slotReturnPressed();
|
||||
void resultOutput(const QString &);
|
||||
void slotReturnKeyPressed(const QString &);
|
||||
void slotPlaceholderText(bool click);
|
||||
void slotInvalidChar(int);
|
||||
void slotSetStyleSheet();
|
||||
|
||||
protected:
|
||||
KLineEdit *m_lineedit;
|
||||
KLineEdit *m_restrictedLine;
|
||||
QLabel *m_invalidCharLabel;
|
||||
QPushButton *m_btnExit;
|
||||
QPushButton *m_btnReadOnly;
|
||||
QPushButton *m_btnPassword;
|
||||
QPushButton *m_btnEnable;
|
||||
QPushButton *m_btnHide;
|
||||
QPushButton *m_btnPlaceholderText;
|
||||
QPushButton *m_btnClickMessage;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user