11 2011 档案

摘要://Qt主窗口没有最小化,最大化按钮且最大化显示 int main(int argc, char *argv[]) { QApplication a(argc, argv); TestQtForWinCE w; w.setWindowFlags(w.windowFlags()& ~Qt::WindowMaximizeButtonHint& ~Qt::Windo... 阅读全文
posted @ 2011-11-29 19:16 katago 阅读(1164) 评论(0) 推荐(0)
摘要:1 PCM接口 针对不同的数字音频子系统,出现了几种微处理器或DSP与音频器件间用于数字转换的接口。最简单的音频接口是PCM(脉冲编码调制)接口,该接口由时钟脉冲(BCLK)、帧同步信号(FS)及接收数据(DR)和发送数据(DX)组成。在FS信号的上升沿,数据传输从 ... 阅读全文
posted @ 2011-11-25 15:20 katago 阅读(754) 评论(0) 推荐(0)
摘要:http://www.w3school.com.cn/js/pro_js_syntax.asp 主要跟c比较: 每行结尾的分号可有可无,最好的代码编写习惯是总加入分号 单行注释以双斜杠开头(//) 多行注释以单斜杠和星号开头(/*),以星号和单斜杠结尾(*/) 使用 var 运算符声明变量,ECMAScript 是弱类型 变量声明不是必须的 ECMAScri... 阅读全文
posted @ 2011-11-25 13:56 katago 阅读(273) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/do2jiang/article/details/5136921 我终于知道答案了,这几天在参加iSCSI Enterprise Target的开发组的讨论 , 这个能从理论上解释: iSCSI really is just the handling of data blocks to and from the hard disk. Think ... 阅读全文
posted @ 2011-11-17 16:53 katago 阅读(451) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/do2jiang/article/details/5062586 iSCSI(Internet SCSI)是2003年IETF(InternetEngineering Task Force,互联网工程任务组)制订的一项标准,这种指令集合可以实现在IP网络上运行SCSI协议,使其能够在诸如高速千兆以太网上进行路由选择。SCSI(Small Computer... 阅读全文
posted @ 2011-11-17 16:38 katago 阅读(1953) 评论(0) 推荐(0)
摘要:qRegisterMetaType<Block>(); 注册类型,并返回id 去掉Q_DECLARE_METATYPE(Block); 导致错误。但是qRegisterMetaType<Block>(“block”);却可以不加。原因如下: template <typename T> inline int qRegisterMetaType( T * dummy = 0 ) ... 阅读全文
posted @ 2011-11-17 14:48 katago 阅读(7971) 评论(0) 推荐(0)
摘要:Logical_Unit_Number http://en.wikipedia.org/wiki/Logical_Unit_Number 阅读全文
posted @ 2011-11-17 13:58 katago 阅读(176) 评论(0) 推荐(0)
摘要:http://developer.qt.nokia.com/forums/viewthread/9042 QProcess is the right class :) you just need to invoke a shell to perform that wildcard expansion. Something like QStringList options; ... 阅读全文
posted @ 2011-11-16 18:29 katago 阅读(387) 评论(0) 推荐(0)
摘要:http://tech.watchstor.com/tech-23250.htm http://zh.wikipedia.org/wiki/ISCSI http://www.nge.com.au/index.php?next_page=res/tech_articles/iscsi_enterprise_target_ubuntu_6.06_LTS.php http://www.diybl.... 阅读全文
posted @ 2011-11-15 13:50 katago 阅读(182) 评论(0) 推荐(0)
摘要:Expert command (m for help): d Device: /dev/sdf 0x000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x020: 00 00 00 00 00 00 00 00 ... 阅读全文
posted @ 2011-11-14 18:36 katago 阅读(253) 评论(0) 推荐(0)
摘要:http://doc.qt.nokia.com/stable/qtbinding.html 阅读全文
posted @ 2011-11-11 19:03 katago 阅读(161) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/hityct1/article/details/4189851 阅读全文
posted @ 2011-11-10 09:24 katago 阅读(393) 评论(0) 推荐(0)
摘要:在TCP/IP协议上是否捆绑NETBIOS解析计算机名(在TCP/IP协议属性——高级——WINS——选择启用TCP/IP上的NETBIOS) 不能访问的打印机工作了,文件夹也可以访问了. http://blog.donews.com/rosebad/archive/2007/11/08/1226438.aspx 阅读全文
posted @ 2011-11-09 19:53 katago 阅读(729) 评论(0) 推荐(0)
摘要:setWindowFlags(windowFlags()|Qt::FramelessWindowHint|Qt::WindowTitleHint); 阅读全文
posted @ 2011-11-09 14:49 katago 阅读(9963) 评论(0) 推荐(1)
摘要:用strace df 跟踪,发现卡在statfs64。 解决方法: mount fat分区时候加上-o usefree参数就可以了 http://topic.csdn.net/u/20110609/17/1163acbc-cc43-4fb7-8aac-9ba60adfe986.html http://linux.die.net/man/8/mount usefree U... 阅读全文
posted @ 2011-11-09 13:56 katago 阅读(1339) 评论(0) 推荐(0)
摘要:fdisk 完之后mkfs.vfat,windows认不到fat分区 fdisk 加上下面: t c <---- this specifies vfat filesystem 阅读全文
posted @ 2011-11-08 16:44 katago 阅读(385) 评论(0) 推荐(0)
摘要:ps -o nice,comm 【函 数 名】nice — 调整进程运行的优先级 【函数原型】int nice(int inc); 【相关头文件】unistd.h 【函数说明】 在Linux中,进程运行的优先级分为-20~19等40个级别,其中,数值越小运行优先级越高,数值越大运行优先级越低。显而易见,优先级 -20的运行优先级最高,优先级19的运行优先级最低。函数n... 阅读全文
posted @ 2011-11-08 15:57 katago 阅读(2677) 评论(0) 推荐(0)
摘要:http://doc.qt.nokia.com/4.7-snapshot/qml-repeater.html#details The Repeater element creates all of its delegate items when the repeater is first created.This can be inefficient if there are a large n... 阅读全文
posted @ 2011-11-08 10:10 katago 阅读(782) 评论(0) 推荐(0)
摘要:Private implementation slots Disclaimer: this article descrbes techiques that are not part of the public Qt API, using them may result in non-portable or version specific code. The example below was t... 阅读全文
posted @ 2011-11-04 16:44 katago 阅读(690) 评论(0) 推荐(0)
摘要:http://www.qtcentre.org/threads/31700-QObject-sender()-in-a-Q_PRIVATE_SLOT class MyClassPrivate { public: ... void _q_mySlot() { Q_Q(MyClass); qDebug() << q->sender(); // should... 阅读全文
posted @ 2011-11-04 15:12 katago 阅读(1779) 评论(0) 推荐(0)
摘要:http://doc.qt.nokia.com/4.7/declarative-tutorials-extending-chapter5-listproperties.html 阅读全文
posted @ 2011-11-04 15:07 katago 阅读(152) 评论(0) 推荐(0)
摘要:http://developer.qt.nokia.com/wiki/Category:SimplifiedChinese::QtInternals 阅读全文
posted @ 2011-11-03 18:57 katago 阅读(213) 评论(0) 推荐(0)
摘要:http://developer.qt.nokia.com/wiki/BasicsOfPlugins_SimplifiedChinese http://developer.qt.nokia.com/wiki/QtPlugins_SimplifiedChinese 阅读全文
posted @ 2011-11-03 18:47 katago 阅读(265) 评论(0) 推荐(0)
摘要:C++ Extensions: Reference examples These examples show how QML can be extended from C++ in various ways. The code for these examples is used throughout the Extending QML in C++ reference documenta... 阅读全文
posted @ 2011-11-03 17:57 katago 阅读(226) 评论(0) 推荐(0)
摘要:http://doc.qt.nokia.com/4.7-snapshot/declarative-tutorials-extending-chapter4-custompropertytypes.html We can also use various other property types. QML has built-in support for the types listed in t... 阅读全文
posted @ 2011-11-03 17:23 katago 阅读(212) 评论(0) 推荐(0)
摘要:Qt slot 或者 using Q_INVOKABLE 都可以被qml调用 public: ... Q_INVOKABLE void clearChart(); signals: void chartCleared(); qml中对应onChartCl... 阅读全文
posted @ 2011-11-03 17:05 katago 阅读(190) 评论(0) 推荐(0)
摘要:http://doc.qt.nokia.com/4.7-snapshot/declarative-tutorials-extending-chapter1-basics.html ------------------------------------------------- 笔记: QML 各个Element对应的c++类(http://doc.qt.nokia.com/4.7-snapsh... 阅读全文
posted @ 2011-11-03 16:57 katago 阅读(224) 评论(0) 推荐(0)
摘要:Tutorial: Writing QML Extensions with C++ The Qt Declarative module provides a set of APIs for extending QML through C++ extensions. You can write extensions to add your own QML types, extend exist... 阅读全文
posted @ 2011-11-03 16:08 katago 阅读(349) 评论(0) 推荐(0)
摘要:安装: qmake && make install 包含三个部分:components (qml文件)src(libstyleplugin.so) qmldesktopviewer components/Dial.qml 等文件安装到这个目录: /opt/QtSDK/Desktop/Qt/474/gcc/imports/QtDesktop/ /opt/QtSDK/Desk... 阅读全文
posted @ 2011-11-03 15:42 katago 阅读(522) 评论(0) 推荐(0)
摘要:http://developer.qt.nokia.com/wiki/How_to_expose_lists_to_QML Extending QML in C++ 4.7文档 http://doc.qt.nokia.com/4.7-snapshot/qml-extending-tutorial-index.html 阅读全文
posted @ 2011-11-03 15:25 katago 阅读(174) 评论(0) 推荐(0)
摘要:Qt事件处理机制(上篇) http://www.61ic.com/Mobile/Symbian/201107/35587.html Qt事件处理机制(下篇) http://www.61ic.com/Mobile/Symbian/201107/35586.html 阅读全文
posted @ 2011-11-01 18:33 katago 阅读(305) 评论(0) 推荐(0)
摘要:int QApplication::exec() { #ifndef QT_NO_ACCESSIBILITY QAccessible::setRootObject(qApp); #endif return QCoreApplication::exec(); } int QCoreApplication::exec() { ... 阅读全文
posted @ 2011-11-01 11:50 katago 阅读(1560) 评论(0) 推荐(0)