自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(156)
  • 资源 (1)
  • 收藏
  • 关注

转载 QT应用程序添加图标

在Qt助手(assistant.exe)搜索关键字"Setting the Application Icon"就可以看到在各种平台设置Qt程序图标的方法,包括QT支持的Windows、MAC、Linux(KDE和GNOME)都有相应的方法。       下面是我翻译的关于Qt5.2:Setting the Application Icon的译文,如有不合理的地方还望大家指出,原文来自QT5.2

2014-10-06 14:22:10 1703

转载 去除QT不使用参数的警告

编译中出现以下警告: warning: unused parameter ‘arg1′ [-Wunused-parameter]原因是由于函数参数未使用,这在程序当中有时候很正常;所以个人认为此警告意义不大,可以取消; 方法一:在提示警告函数里面添加Q_UNUSED(arg1);方法二:在pro工程文件最后加入如下代码:QMAKE_CXXFLAGS += 

2014-10-06 13:04:16 2614

翻译 QML类型说明-LineShape

LineShapeImportStatement:   import QtQuick.Particles 2.0Inherits:      Shape Propertiesmirrored :bool DetailedDescription PropertyDocumentationmirrored :bool默认时,组件使用LineShape,线从(

2014-09-26 18:06:19 1192 1

翻译 QML类型说明-LinearGradient

1.  inearGradientImportStatement:   import QtGraphicalEffects 1.0Since:  QtGraphicalEffects 1.0Inherits:      Item Propertiescached :boolend :variantgradient :Gradientsource :variant

2014-09-26 18:03:11 1927 1

翻译 QML类型说明-LightSensor

LightSensorImportStatement:   import QtSensors 5.0Since:  QtSensors 5.0Inherits:      Sensor PropertiesfieldOfView: qreal DetailedDescription这个组件使用勒克斯(LUX)报告亮度级别。这个组件封装于QLightSensor类

2014-09-26 18:01:14 737

翻译 QML类型说明-LightReading

LightReadingImportStatement:   import QtSensors 5.0Since:  QtSensors 5.0Inherits:      SensorReading Propertiesilluminance: qreal DetailedDescriptionLightReading保存最近一次光感的读数。这个组件封装于QL

2014-09-26 17:59:57 685

翻译 QML类型说明-LevelAdjust

LevelAdjustImportStatement:   import QtGraphicalEffects 1.0Since:  QtGraphicalEffects 1.0Inherits:      Item Propertiescached :boolgamma :variantmaximumInput: colormaximumOutput: col

2014-09-26 17:57:03 1029

翻译 QML类型说明-Layout

LayoutImportStatement:   import QtQuick.Layouts 1.1 Attached Propertiesalignment :Qt.Alignmentcolumn : intcolumnSpan :intfillHeight :boolfillWidth :boolmaximumHeight: realmaximumWi

2014-09-24 21:59:17 1496 1

翻译 QML类型说明-LayoutMirroring

LayoutMirroringImportStatement:   import QtQuick 2.2 PropertieschildrenInherit: boolenabled :bool DetailedDescriptionLayoutMirroring关联属性用于对组件的锚定进行镜像。在定位器(诸如Row和Grid)和视图(诸如GridView和水平Li

2014-09-24 21:59:13 892

翻译 QML类型说明-Label

LabelImportStatement:   import QtQuick.Controls 1.2Since:  Qt 5.1Inherits:      Text DetailedDescription除了正常的Text元素之外,Label使用系统地字体和色彩方案。用text属性给Label分配文本,其他属性看Text的文档。简单的标签看起来像这样:Label

2014-09-24 21:57:49 1664

转载 SVG

可缩放矢量图形是基于可扩展标记语言(标准通用标记语言的子集),用于描述二维矢量图形的一种图形格式。它由万维网联盟制定,是一个开放标准。

2014-09-19 17:33:09 1119

转载 NDEF消息格式(翻译版)

TNF 字段值表明表示TYPE 字段值的结构(请参见2.4.2节TYPE 字段描述和第4节TYPE字段相关的国际化问题的说明)。TNF 是3比特字段,值的定义如下表所示:  表1.TNF字段值 类型名称格式值 空                                                                0x00 NFC 论坛知名类型 [NFC RTD

2014-09-18 15:32:41 5145

翻译 QML类型说明-Keys

KeysImportStatement:   import QtQuick 2.2 Propertiesenabled :boolforwardTo :listpriority :enumeration SignalsasteriskPressed(KeyEventevent)backPressed(KeyEventevent)backtabPresse

2014-09-16 16:33:42 1367

翻译 QML类型说明-KeyEvent

1.  eyEventImport Statement:   import QtQuick 2.2 Propertiesaccepted :boolcount : intisAutoRepeat: boolkey : intmodifiers :intnativeScanCode: quint32text :string Methodsboolm

2014-09-16 16:32:26 1530

翻译 QML类型说明-KeyNavigation

KeyNavigationImportStatement:   import QtQuick 2.2 Propertiesbacktab :Itemdown : Itemleft : Itempriority :enumerationright : Itemtab : Itemup : Item DetailedDescription用户界面一般

2014-09-16 16:31:51 2153

翻译 QML类型说明-JumpListSeparator

JumpListSeparatorImportStatement:   import QtWinExtras 1.0Since:  QtWinExtras 1.0 DetailedDescriptionJumpListSeparator代表跳转列表中的分隔符。这个值仅仅用于任务列表。

2014-09-16 16:30:59 529

翻译 QML类型说明-JumpListLink

JumpListLinkImportStatement:   import QtWinExtras 1.0Since:  QtWinExtras 1.0 Propertiesarguments :stringdescription: stringexecutablePath: stringiconPath :stringtitle :string Det

2014-09-16 16:29:46 593

翻译 QML类型说明-JumpListCategory

JumpListCategoryImportStatement:   import QtWinExtras 1.0Since:  QtWinExtras 1.0 Propertiesitems :listtitle :stringvisible :bool DetailedDescriptionJumpListCategory表示一个类别。包含几个跳转目的地

2014-09-16 16:27:14 500

翻译 QML类型说明-JumpListDestination

JumpListDestinationImportStatement:   import QtWinExtras 1.0Since:  QtWinExtras 1.0 PropertiesfilePath :string DetailedDescriptionJumpListDestination包含到达文件的路径,用户能在跳转列表视图中选择或在应用程序中编辑。

2014-09-16 16:26:24 495

翻译 QML类型说明-JumpList

JumpListImportStatement:   import QtWinExtras 1.0Since:  QtWinExtras 1.0 Propertiescategories :listfrequent :JumpListCategoryrecent :JumpListCategorytasks :JumpListCategory Detaile

2014-09-16 16:26:01 559

翻译 QML类型说明-ItemParticle

1.  temParticleImportStatement:   import QtQuick.Particles 2.0Inherits:      ParticlePainter Propertiesdelegate :Componentfade : bool Methodsvoidfreeze(Item item)voidgive(Item item

2014-09-16 16:24:58 750 1

翻译 QML类型说明-Item

ItemImportStatement:   import QtQuick 2.2Instantiates:     QQuickItemInherits:      QtObjectInheritedBy:    AnimatedSprite,BorderImage, Canvas, Column, Flickable, Flipable, Flow, FocusScope,

2014-09-16 16:23:16 3001 1

翻译 QML类型说明-IRProximitySensor

IRProximitySensorImportStatement:   import QtSensors 5.0Since:  QtSensors 5.0Inherits:      Sensor DetailedDescription这是红外探测器。这个组件封装于QIRProximitySensor类,更多的信息看QIRProximitySensor的文档。

2014-09-16 16:15:23 505

翻译 QML类型说明-IRProximityReading

1.  RProximityReadingImportStatement:   import QtSensors 5.0Since:  QtSensors 5.0Inherits:      SensorReading Propertiesreflectance: qreal DetailedDescriptionIRProximityReading保存最近一次

2014-09-16 16:14:12 510

翻译 QML类型说明-IntValidator

IntValidatorImportStatement:   import QtQuick 2.2Instantiates:     QIntValidator Propertiesbottom : intlocale :stringtop : int DetailedDescriptionIntValidator是整型数的验证器。如果没有在IntVal

2014-09-16 16:12:50 2342

翻译 QML类型说明-Instantiator

1.  nstantiatorImportStatement:   import QtQml 2.2 Propertiesactive :boolasynchronous: boolcount : intdelegate :QtQml::Componentmodel : variantobject :QtQml::QtObject Signalsob

2014-09-16 16:08:43 1846

翻译 QML类型说明-InnerShadow

InnerShadowImportStatement:   import QtGraphicalEffects 1.0Since:  QtGraphicalEffects 1.0Inherits:      Item Propertiescached :boolcolor :colorfast : boolhorizontalOffset: realradi

2014-09-16 16:08:35 1062

翻译 QML类型说明名-ImageParticle

ImageParticleImportStatement:   import QtQuick.Particles 2.0Inherits:      ParticlePainter1.1. Propertiesalpha : realalphaVariation: realautoRotation: boolblueVariation: realcolor

2014-09-16 16:03:53 1217

翻译 QML类型说明-Image

ImageImportStatement:   import QtQuick 2.2Inherits:      ItemInheritedBy:    AnimatedImage. Propertiesasynchronous: boolcache : boolfillMode : enumerationhorizontalAlignment: enumera

2014-09-16 16:00:53 5212

翻译 QML类型说明-HueSaturation

HueSaturationImportStatement:   import QtGraphicalEffects 1.0Since:  QtGraphicalEffects 1.0Inherits:      Item Propertiescached :boolhue : reallightness :realsaturation :realsource

2014-09-16 15:54:17 717

翻译 QML类型说明-HolsterSensor

HolsterSensorImportStatement:   import QtSensors 5.0Since:  QtSensors 5.1Inherits:      Sensor DetailedDescription这个组件报告设备是否有皮套。组件封装于QHolsterSensor类,更多的信息看QHolsterSensor的文档

2014-09-16 15:52:19 556

翻译 QML类型说明-HolsterReading

HolsterReadingImportStatement:   import QtSensors 5.0Since:  QtSensors 5.1Inherits:      SensorReading Propertiesholstered :qreal DetailedDescription皮套读组件保存了皮套传感器最近的读数。组件封装于QHolsterR

2014-09-16 15:50:58 452

翻译 QML类型说明-GyroscopeReading

GyroscopeReadingImportStatement:   import QtSensors 5.0Since:  QtSensors 5.0Inherits:      SensorReading Propertiesx : qrealy : qrealz : qreal DetailedDescription这个组件保存当前陀螺仪的读数。这

2014-09-12 17:38:56 463

翻译 QML类型说明-Gyroscope

G yroscopeImportStatement:   import QtSensors 5.0Since:  QtSensors 5.0Inherits:      Sensor DetailedDescription陀螺仪封装于QGyroscope类。等多的信息看QGyroscope的文档。

2014-09-12 17:35:24 522

翻译 QML类型说明-GroupBox

GroupBoxImportStatement:   import QtQuick.Controls 1.2Since:  Qt 5.1Inherits:      FocusScope Propertiescheckable :boolchecked :boolcontentItem: Itemflat : booltitle :string De

2014-09-12 17:34:35 2708

翻译 QML类型说明-GroupGoal

GroupGoalImportStatement:   import QtQuick.Particles 2.0Inherits:      Affector PropertiesgoalState :stringjump : bool DetailedDescription PropertyDocumentationgoalState :string

2014-09-12 17:34:11 575

翻译 QML类型说明-GridView

1.  ridViewImportStatement:   import QtQuick 2.2Inherits:      Flickable Propertiesadd :TransitionaddDisplaced: TransitioncacheBuffer: intcellHeight :realcellWidth :realcount : int

2014-09-12 17:32:02 10678 3

翻译 QML类型说明-GridMesh

GridMeshImportStatement:   import QtQuick 2.2Since:  Qt 5.0 Propertiesresolution :size DetailedDescriptionGridMesh定义了矩形的、顶点排列在均匀的网格内组成的网。这个组件用于生成几何。网格的分辨率单元由resolution属性指定。 Propert

2014-09-12 17:25:40 912

翻译 QML类型说明-GridLayout

GridLayoutImportStatement:   import QtQuick.Layouts 1.1Inherits:      Item PropertiescolumnSpacing: realcolumns :intflow :enumerationlayoutDirection: enumerationrowSpacing :realrow

2014-09-12 17:23:10 2691 1

翻译 QML类型说明-Grid

GridImportStatement:   import QtQuick 2.2Inherits:      Item Propertiesadd :TransitioncolumnSpacing: qrealcolumns :inteffectiveHorizontalItemAlignment: enumerationeffectiveLayoutDire

2014-09-12 17:20:41 3490 1

QML编写的广告机开源软件

QML和C++交叉使用编写的开源软件的第一版。 如果不想花费资源,可到下面的地址下载 http://pan.baidu.com/s/1ntC3xpB 该软件的通信协议在下面的地址 http://pan.baidu.com/s/1mgxCt8c 资源充足的大能,能赞助资源,当然更是不甚感激。

2014-09-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除