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