dialog.h :
#ifndef MYDIALOG
#define MYDIALOG
#include
by duanlin - GUI编程 - 2009-02-12 19:16:31 阅读(3179) 回复(2)
#include
dlg::dlg( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ) { ... table = new qtable( this, "table" ); ... comb = new QComBox( this, "comb" ); comb->insertItem("1"); comb->insertItem("2"); comb->insertItem("3"); table->setCellWidget( 0,0,comb ); connect( combo, SIGNAL( activated(int index) ), this,SLOT( ...
qt4中对ODBC,SQL Server,Access的几行连接代码,不错的话,支持一下顶一下,哈哈 http://www.qobject.com/bbs/htm_data/16/0601/2.html
那位大虾可以帮忙给介绍一下注意事项,有代码就更好啦! 由于网上qt库这方面的知识比较少,看了qt的有关C++的连接代码实例,还是连不上,帮忙啊,兄弟们!!
我用拖放组件的方式编了一个对对话框程序(Form.ui),在main.cpp文件 include 了那个 "form.h",可是make命令编译的时候只给出了form.h的错误报告,而没有我编的真正的form.ui.h的错误,这让我怎么改呀?简直郁闷死了!如果大侠有经验的话请指点一二,不胜感激! :em16:
http://xizhizhu.blogspot.com/2009/01/qt-development-viii-multi-thread.html Threads should be subclasses of qthread, and the qthread.run() should be overrided, the code of which will be executed in a separate thread when calling qthread.start(). A thread ends when the qthread.run() ends, or qthread.terminate() is called. Following code shows the basic idea of two threads running concurrently. // ...
我们这边是成都的一家猎头公司,最近有qt职位的需求,Linuix平台下的。是一家外资企业,公司很不错,有意者请与我联系。MSN:ginnyleelxj@msn.com. QQ:491209472