Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+34
@@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Props;
|
||||
}
|
||||
|
||||
class Props : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit Props(QWidget *parent = nullptr);
|
||||
~Props();
|
||||
|
||||
int lineIndex() const;
|
||||
void setLineIndex(int lineIndex);
|
||||
QString inputText() const;
|
||||
void setInputText(const QString &inputText);
|
||||
|
||||
signals:
|
||||
void textChanged(const QString& newText);
|
||||
void showText(bool visible);
|
||||
void flashTimeChanged(int msecs);
|
||||
void colorChanged(const QColor &newColor);
|
||||
|
||||
private slots:
|
||||
void onPbColorClicked();
|
||||
|
||||
private:
|
||||
int m_lineIndex = 0;
|
||||
QColor m_color;
|
||||
Ui::Props *m_ui = nullptr;
|
||||
};
|
||||
Reference in new issue
Block a user