QT Creator 如何建槽

本想继承一个槽,但是发现编译不过,只好新建一个槽,有些东西要设置,不过很简单 定义一个槽 Q_OBJECT//一定要加上 public: SelfDifineTree(); virtual ~SelfDifineTree(); //Q_SIGNALS: // void expanded(const QModelIndex &index); public Q_SLOTS:
相关文章
相关标签/搜索