ChinaUnix.net
相关文章推荐:

qt 中英文 代码

dialog.h : #ifndef MYDIALOG #define MYDIALOG #include #include class myDialog : public QDialog { Q_OBJECT public: myDialog(QWidget *parent = 0); private slots: void stepon(void); private: QPushButton *myButton; QProgressBar *myProgressBar; }; #endif dialog.cpp: #include <qtGui> #include "dialog.h" myDialog::myDialog(QWidget *parent) : QDialog(parent) { my...

by duanlin - GUI编程 - 2009-02-12 19:16:31 阅读(3179) 回复(2)

相关讨论

#include #include #include using namespace std; int main() { QCString a,b,c; //QCString 继承 QByteArray QFile file("zhang.txt"); //QFile 继承 QIODevice file.open(IO_ReadOnly); // QDataStream stream (&file); a = file.readAll(); b = qCompress(a); c = qUncompress(b); QFile file2("fred.txt"); file2.open(IO_WriteOnly); ...

by jsgylt - GUI编程 - 2006-06-05 13:53:19 阅读(2563) 回复(0)

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( ...

by huosports - GUI编程 - 2006-06-06 12:17:27 阅读(3429) 回复(3)

qt4中对ODBC,SQL Server,Access的几行连接代码,不错的话,支持一下顶一下,哈哈 http://www.qobject.com/bbs/htm_data/16/0601/2.html

by HeTal - GUI编程 - 2006-03-06 11:07:59 阅读(2372) 回复(0)

那位大虾可以帮忙给介绍一下注意事项,有代码就更好啦! 由于网上qt库这方面的知识比较少,看了qt的有关C++的连接代码实例,还是连不上,帮忙啊,兄弟们!!

by asnczj - MySQL - 2005-08-21 22:52:32 阅读(1814) 回复(3)

我想把qt中lineEdit中的文本提取出来,请问如何提取出来啊?

by enzzz - GUI编程 - 2008-01-26 11:26:45 阅读(3424) 回复(1)

我用拖放组件的方式编了一个对对话框程序(Form.ui),在main.cpp文件 include 了那个 "form.h",可是make命令编译的时候只给出了form.h的错误报告,而没有我编的真正的form.ui.h的错误,这让我怎么改呀?简直郁闷死了!如果大侠有经验的话请指点一二,不胜感激! :em16:

by sonix - - 2003-05-03 19:22:46 阅读(244) 回复(0)

问一个有点弱的问题啊!用qt编写好的程序能在qt/e上用行不? 做嵌入式图形界面开发时,编程部分能否用qt。新手,多多包涵

by lyf3560 - GUI编程 - 2009-11-30 23:48:11 阅读(2937) 回复(2)

请问qt是开源的么? 在UNIX下和Linux下使用是不是都不要钱?

by eirsky - GUI编程 - 2007-05-16 11:09:38 阅读(3497) 回复(4)

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. // ...

by zxz1984 - GUI编程 - 2009-01-15 00:15:22 阅读(3995) 回复(0)

我们这边是成都的一家猎头公司,最近有qt职位的需求,Linuix平台下的。是一家外资企业,公司很不错,有意者请与我联系。MSN:ginnyleelxj@msn.com. QQ:491209472

by ginnylee - IT职业生涯 - 2008-07-08 14:40:09 阅读(1382) 回复(0)