123456789101112131415161718192021222324252627 |
- #ifndef PINYINCHAR_H
- #define PINYINCHAR_H
- #include <QObject>
- class DialogSoftKeyboard;
- class QPushButton;
- class PinYinChar : public QObject
- {
- Q_OBJECT
- public:
- explicit PinYinChar(QObject *parent = 0);
- private:
- DialogSoftKeyboard *input;
- QList<QPushButton *> btns;
- public slots:
- void setInput(DialogSoftKeyboard *input);
- void setBtns(QList<QPushButton *> btns);
- //改变字符类型
- void setCharType(quint8 charType, QPushButton *btnChar);
- };
- #endif // PINYINCHAR_H
|