11 2011 档案

Qt主窗口没有最小化,最大化按钮且最大化显示
摘要://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 阅读(1154) 评论(0) 推荐(0) 编辑

音频设备的三种硬件接口
摘要:1 PCM接口 针对不同的数字音频子系统,出现了几种微处理器或DSP与音频器件间用于数字转换的接口。最简单的音频接口是PCM(脉冲编码调制)接口,该接口由时钟脉冲(BCLK)、帧同步信号(FS)及接收数据(DR)和发送数据(DX)组成。在FS信号的上升沿,数据传输从 ... 阅读全文

posted @ 2011-11-25 15:20 katago 阅读(724) 评论(0) 推荐(0) 编辑

ECMAScript 语法 笔记
摘要:http://www.w3school.com.cn/js/pro_js_syntax.asp 主要跟c比较: 每行结尾的分号可有可无,最好的代码编写习惯是总加入分号 单行注释以双斜杠开头(//) 多行注释以单斜杠和星号开头(/*),以星号和单斜杠结尾(*/) 使用 var 运算符声明变量,ECMAScript 是弱类型 变量声明不是必须的 ECMAScri... 阅读全文

posted @ 2011-11-25 13:56 katago 阅读(264) 评论(0) 推荐(0) 编辑

iSCSI协定对多User同时写一个target device的互斥问题讨论
摘要: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 阅读(428) 评论(0) 推荐(0) 编辑

iSCSI软件套件 介绍
摘要: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 阅读(1880) 评论(0) 推荐(0) 编辑

qRegisterMetaType
摘要: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 阅读(7944) 评论(0) 推荐(0) 编辑

存储相关名词
摘要:Logical_Unit_Number http://en.wikipedia.org/wiki/Logical_Unit_Number 阅读全文

posted @ 2011-11-17 13:58 katago 阅读(165) 评论(0) 推荐(0) 编辑

qprocess wildcard
摘要: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 阅读(378) 评论(0) 推荐(0) 编辑

Linux-iscsitarget
摘要: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 阅读(175) 评论(0) 推荐(0) 编辑

mbr
摘要: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 阅读(244) 评论(0) 推荐(0) 编辑

翻译计划
摘要:http://doc.qt.nokia.com/stable/qtbinding.html 阅读全文

posted @ 2011-11-11 19:03 katago 阅读(154) 评论(0) 推荐(0) 编辑

C++元编程和Boost编程库 (C++ Metaprogramming and Boost MPL )上部
摘要:http://blog.csdn.net/hityct1/article/details/4189851 阅读全文

posted @ 2011-11-10 09:24 katago 阅读(388) 评论(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 阅读(718) 评论(0) 推荐(0) 编辑

qt中去掉最大,最小窗口,关闭按钮。
摘要:setWindowFlags(windowFlags()|Qt::FramelessWindowHint|Qt::WindowTitleHint); 阅读全文

posted @ 2011-11-09 14:49 katago 阅读(9944) 评论(0) 推荐(1) 编辑

df statfs statvfs 在vfat分区上速度慢
摘要:用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 阅读(1287) 评论(0) 推荐(0) 编辑

fdisk vfat windows打不开
摘要:fdisk 完之后mkfs.vfat,windows认不到fat分区 fdisk 加上下面: t c <---- this specifies vfat filesystem 阅读全文

posted @ 2011-11-08 16:44 katago 阅读(369) 评论(0) 推荐(0) 编辑

Linux C语言库函数参考 — nice
摘要: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 阅读(2630) 评论(0) 推荐(0) 编辑

qml Repeater
摘要: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 阅读(775) 评论(0) 推荐(0) 编辑

Private implementation slots
摘要: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 阅读(678) 评论(0) 推荐(0) 编辑

QObject::sender() in a Q_PRIVATE_SLOT
摘要: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 阅读(1748) 评论(0) 推荐(0) 编辑

Chapter 5: Using List Property Types
摘要:http://doc.qt.nokia.com/4.7/declarative-tutorials-extending-chapter5-listproperties.html 阅读全文

posted @ 2011-11-04 15:07 katago 阅读(143) 评论(0) 推荐(0) 编辑

qt 内部
摘要:http://developer.qt.nokia.com/wiki/Category:SimplifiedChinese::QtInternals 阅读全文

posted @ 2011-11-03 18:57 katago 阅读(203) 评论(0) 推荐(0) 编辑

qt插件
摘要:http://developer.qt.nokia.com/wiki/BasicsOfPlugins_SimplifiedChinese http://developer.qt.nokia.com/wiki/QtPlugins_SimplifiedChinese 阅读全文

posted @ 2011-11-03 18:47 katago 阅读(259) 评论(0) 推荐(0) 编辑

C++ Extensions: Reference examples
摘要: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 阅读(212) 评论(0) 推荐(0) 编辑

Chapter 4: Using Custom Property Types
摘要: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 阅读(202) 评论(0) 推荐(0) 编辑

Chapter 2: Connecting to C++ Methods and Signals
摘要:Qt slot 或者 using Q_INVOKABLE 都可以被qml调用 public: ... Q_INVOKABLE void clearChart(); signals: void chartCleared(); qml中对应onChartCl... 阅读全文

posted @ 2011-11-03 17:05 katago 阅读(181) 评论(0) 推荐(0) 编辑

Chapter 1: Creating a New Type
摘要: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 阅读(220) 评论(0) 推荐(0) 编辑

Tutorial: Writing QML Extensions with C++
摘要: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 阅读(337) 评论(0) 推荐(0) 编辑

qt component desktop
摘要:安装: 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 阅读(501) 评论(0) 推荐(0) 编辑

Extending QML in C++
摘要: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 阅读(164) 评论(0) 推荐(0) 编辑

Qt事件处理机制
摘要: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 阅读(297) 评论(0) 推荐(0) 编辑

qt exec
摘要:int QApplication::exec() { #ifndef QT_NO_ACCESSIBILITY QAccessible::setRootObject(qApp); #endif return QCoreApplication::exec(); } int QCoreApplication::exec() { ... 阅读全文

posted @ 2011-11-01 11:50 katago 阅读(1544) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示