随笔分类 - QT
摘要:import QtQuick 2.0 Rectangle { width: 200 height: 80 color: "linen" TextInput { id: input1 x: 8; y: 8 width: 96; height: 20 focus: true text: "Text Input 1" KeyNavigation.tab: input2 } TextInput { id:...
阅读全文
摘要:Properties stops : listDetailed Description A gradient is defined by two or more colors, which will be blended seamlessly. The colors are specified as a set of GradientStop child items, each of which...
阅读全文
摘要:style : enumerationSet an additional text style.Supported text styles are:Text.Normal - the defaultText.OutlineText.RaisedText.SunkenRow { Text { font.pointSize: 24; text: "Normal" } Text { font...
阅读全文
摘要:opacity : realThis property holds the opacity of the item. Opacity is specified as a number between 0.0 (fully transparent) and 1.0 (fully opaque). Th...
阅读全文
摘要:布局管理介绍三个类的使用: 1、分割窗口QSplitter类 2、停靠窗口QDockWidget类 3、堆栈窗体QStackedWidget类
阅读全文
摘要:1、对槽信号进行触发 2、容器类 Qlist类、QLinkedList类和QVector类 QMap类和QHash类 QVariant类 3、基本正则表达式 4、控件 按钮组Buttons 输入部件组Input Widgets 显示控件组Display Widgets 空间间隔组Spacers : 水平间隔、垂直间隔; 布局管理Layouts:垂直布局(Vertical Layou...
阅读全文
摘要:Adeneo Embedded: Building Qt 5.1 for Freescale i.MX6Introduction Currently there is not an easy procedure to build Qt 5.1 with hardware acceleration support for Freescale i.MX6 platform. This document...
阅读全文
摘要:Getting started with Yocto on Wandboard Here are the steps on how to get started with the Yocto Project based on the Freescale Community BSP for Wandboard. Contents[show] Requirements hardware an...
阅读全文
摘要:address:https://community.freescale.com/docs/DOC-94066 Prerequisites:The build is verified on prebuilt rootfs(based on LTIB) which can be downloaded from freescale.com EGL uses framebuffer backendlibE...
阅读全文
摘要:QT5 uboot安装 参考:http://askubuntu.com/questions/279421/how-can-i-install-qt-5-x-on-12-04-lts sudo apt-get install qtcreator
You can usually do this with the following commands:
sudo apt-add-repository ...
阅读全文
摘要:FINDDIALOG_H 头文件:#ifndef FINDDIALOG_H
#define FINDDIALOG_H
#include /*声明四个用到的类*/class QCheckBox;
class QLabel;
class QLineEdit;
class QPushButton;
/*首先定义一个派生类QDialog,基类是FindDialog*/class FindDialog ...
阅读全文
摘要:原文:http://blog.chinaunix.net/uid-26696487-id-3149316.html 环境:ubunt 11.10硬盘安装qt版本:qte4.6.3设备平台:mini2440交叉编辑器:4.4.31.将 qt-everywhere-opensource-src-4.6.3.tar.gz 压缩包解压为3份,分别编译 PC ,嵌入式 x86 和 arm 三个版本。2. ...
阅读全文
摘要:Ubuntu版本:测试用12.04,尽可能最新推荐14.04.板级支持包:fsl-release-bsp.tar.gz /***************************************ReadMe*************************************************/Freescale's Community Yocto BSP
============...
阅读全文
摘要:例程一:hello world! 支持HTML语言解析。#include #include
int main(int argc, char *argv[])
{ QApplication app(argc,argv); QLabel *label=new QLabel("hello,world "); label->show(); return app....
阅读全文
摘要:1、实现效果图: 2、代码清单:#include #include #include #include #include int main(int argc, char *argv[])
{ QApplication app(argc, argv); QWidget *window = new QWidget; window->setWindowTitle("Enter y...
阅读全文
摘要:Qt4.8.5 为了支持开发板中的触摸屏,在编译 Qt 之前,要先编译 tslib 库。 root@yechuang:~# sudo gedit /etc/bash.bashrc IMX28环境变量做如下设置:export ARCH=arm
export
CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multili...
阅读全文
摘要:1.首先安装Qt4并采用Qt Creator进行开发演示 (1)在Terminal中输入:sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer
其中: qt4-dev-tools 中包括了Qt Assistant,Qt Linguist,Qt Creator qt4-doc 这个...
阅读全文