QT新手问题,connect
connect(m_tableList,SIGNAL(clicked(QListViewItem*)),this,SLOT(tableChanged(QListViewI...
connect(m_tableList, SIGNAL(clicked(QListViewItem*)), this, SLOT(tableChanged(QListViewItem*))
此函数的功能是什么,每个参数的意义又如何?是要理解层面上的,我刚接触QT。 展开
此函数的功能是什么,每个参数的意义又如何?是要理解层面上的,我刚接触QT。 展开
展开全部
函数原型:
bool QObject::connect ( const QObject * sender, const char * signal, const QObject * receiver, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) [static]
bool QObject::connect ( const QObject * sender, const char * signal, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) const
bool QObject::connect ( const QObject * sender, const char * signal, const QObject * receiver, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) [static]
bool QObject::connect ( const QObject * sender, const char * signal, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) const
更多追问追答
追问
谢谢
追答
你可以看Qt的信号和槽,这个你能搜索的到,你新学,所以告诉你看文档估计也看不懂。就看Qt4 C++ GUI程序设计吧,经典的书,网上有电子版的前几章,还可以去CSDN去看看论坛。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询