用qtableView和QSqlTableModel从表model_detail读取一行数据显示,效果如下图 http://kenby.javaeye.com/upload/picture/pic/41116/c3543b46-3b28-3acc-b93d-b3840335483e.png 由于只有一行数据,且字段很多,所以我想让它这样显示,如下图: http://kenby.javaeye.com/upload/picture/pic/41114/d1b56f4b-b35c-3229-88ee-b07a724a47e7.png 请问如何做到?相关代码如下: standardView = new qtableView; standardModel = new QSql...
by kenby - GUI编程 - 2009-07-27 23:10:13 阅读(3442) 回复(0)
我用拖放组件的方式编了一个对对话框程序(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
我们这边是成都的一家猎头公司,最近有qt职位的需求,Linuix平台下的。是一家外资企业,公司很不错,有意者请与我联系。MSN:ginnyleelxj@msn.com. QQ:491209472