{$cfg_webname}
主页 > 外文翻译 > 计算机翻译 >

Qt4图形设计与嵌入式开发

来源:wenku7.com  资料编号:WK78539 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK78539
以下是资料介绍,如需要完整的请充值下载。
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

 中文翻译

Qt4图形设计与嵌入式开发(中文4300字,英文4500字) Chapter 1  Getting Started       Qt中的每个类,都有一个对应的同名头文件,其中包含其类定义。例如要使用QApplication类,则需要在程序中添加" #include <QApplication> "        QApplication类用于管理应用程序范围内的资源。其构造函数需要main函数的argc和argv作为参数。       widget被创建时都是不可见的(always created hidden)。widget中可容纳其它widget。       Qt中的widget在有用户行为或状态改变时会emit signal。 signal可以和slot函数连接在一起(connect),这样当有signal被emit时,对应的slot函数会被自动调用。       QWidget类的构造函数需要一个 QWidget * 指针作为参数,表示其parent widget(默认值为0,即不存在parent widget)。在parent widget被删除时,Qt会自动删除其所有的child widget。       Qt中有三种Layout Manager 类: QHBoxLayout,QVBoxLayout,QGridLayout。基本模式是将widget添加进Layout,由Layout自动接管widget的尺寸和位置。       启动Qt程序时可以通过 -style 参数改变程序的默认显式风格。   外文原文 《Qt4 graphic design and embedded development》 Chapter 1 Getting Started Qt in each class, there is a corresponding header file with the same name, which contains the class definition.For example, to use QApplication class, you will need to added in the program "# include < QApplication >" QApplication class used to manage resources within the scope of application.Its constructor to arg c and argv as parameters of the main function. Is not visible when the widget is created (always created hidden).Can accommodate other widgets in the widget. In Qt widgets in the user behavior or state change will emit signal.Signal can be connected together and slot function (connect), so that when a signal is emit, the corresponding slot function will automatically be invoked. QWidget class constructor needs a QWidget * pointer as the argument, said its parent widget (the default value is 0, there is no parent widget).In the parent widget is deleted, Qt will automatically delete all of its child widgets. There are three kinds of Layout in Qt Manager classes: QHBoxLayout, QVBoxLayout, QGridLayout.Basic mode is add widgets in the Layout, the Layout automatically over the size and position of the widget. Start the Qt application can pass - style parameters change the default explicit style of the program.

  Qt4图形设计与嵌入式开发

推荐资料