原创 jquery 動態圖片

<!DOCTYPE html>  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"

原创 QObject: Cannot create children for a parent that is in a different thread

http://stackoverflow.com/questions/3268073/qobject-cannot-create-children-for-a-parent-that-is-in-a-different-thread

原创 繼承QTreeWidgetItem發生error: 'staticMetaObject' is not a member of 'QTreeWidgetItem' 錯誤

點擊打開鏈接 #ifndef QQUSERITEM_H就發生下列錯誤 #define QQUSERITEM_H #include <QTreeWidgetItem> class QQUserItem :public QTreeWidg

原创 qtcpsocket send and recieve image

點擊打開鏈接 Hi All, I have two simple applications which are network based. The 'server' takes a screenshot of its compute

原创 qt開發中遇到的問題整理五

1.請問可以在Qthread裏面 操作 ui控件嗎?  不可以。 文檔原文: In GUI applications, the main thread is also called the GUI thread because it's

原创 QT中實現圖片淡出淡入的效果

點擊打開鏈接 折騰了幾天,終於實現了圖片的淡出淡入的效果。 其實也應該是說實現了圖片的淡入效果,因爲淡出效果我暫時還用不到,但原理還是一樣的。        網上關於圖片的淡出淡入效果的討論蠻多的,但是用QT實現就很少了。實現這種效果有

原创 籤offer前的注意事項

籤offer前的注意事項 關於 簽約/違約篇  首先向你表示衷心的祝賀!如果看到這部分,那說明你已經順利通過了筆試、面 試,拿到了offer。希望每個同學都能順利看到這部分,我相信一定會的,只要你 對自己有信心。  經過了筆試、面試的

原创 javascript hash

<script type="text/javascript"> //源碼如下: var Hash = function(){     this._data = new Object();    }     function Hash$a

原创 再來一個很蛋的C++程序

#include <QtCore/QCoreApplication> #include <QDebug> #include <QtCore> QStringList names; QStringList nodes1; QStrin

原创 Qt學習筆記,設置QTabWidget的TabBar的屬性

Qt學習筆記,設置QTabWidget的TabBar的屬性 ui->tabWidget->setStyleSheet("QTabBar::tab { height: 25px; width:25px;color: white;