- 博客(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
1840
转载 去除QT不使用参数的警告
编译中出现以下警告: warning: unused parameter ‘arg1′ [-Wunused-parameter]原因是由于函数参数未使用,这在程序当中有时候很正常;所以个人认为此警告意义不大,可以取消; 方法一:在提示警告函数里面添加Q_UNUSED(arg1);方法二:在pro工程文件最后加入如下代码:QMAKE_CXXFLAGS +=
2014-10-06 13:04:16
2856
翻译 QML类型说明-LineShape
LineShapeImportStatement: import QtQuick.Particles 2.0Inherits: Shape Propertiesmirrored :bool DetailedDescription PropertyDocumentationmirrored :bool默认时,组件使用LineShape,线从(
2014-09-26 18:06:19
1336
1
翻译 QML类型说明-LinearGradient
1. inearGradientImportStatement: import QtGraphicalEffects 1.0Since: QtGraphicalEffects 1.0Inherits: Item Propertiescached :boolend :variantgradient :Gradientsource :variant
2014-09-26 18:03:11
2086
1
翻译 QML类型说明-LightSensor
LightSensorImportStatement: import QtSensors 5.0Since: QtSensors 5.0Inherits: Sensor PropertiesfieldOfView: qreal DetailedDescription这个组件使用勒克斯(LUX)报告亮度级别。这个组件封装于QLightSensor类
2014-09-26 18:01:14
814
翻译 QML类型说明-LightReading
LightReadingImportStatement: import QtSensors 5.0Since: QtSensors 5.0Inherits: SensorReading Propertiesilluminance: qreal DetailedDescriptionLightReading保存最近一次光感的读数。这个组件封装于QL
2014-09-26 17:59:57
734
翻译 QML类型说明-LevelAdjust
LevelAdjustImportStatement: import QtGraphicalEffects 1.0Since: QtGraphicalEffects 1.0Inherits: Item Propertiescached :boolgamma :variantmaximumInput: colormaximumOutput: col
2014-09-26 17:57:03
1123
翻译 QML类型说明-Layout
LayoutImportStatement: import QtQuick.Layouts 1.1 Attached Propertiesalignment :Qt.Alignmentcolumn : intcolumnSpan :intfillHeight :boolfillWidth :boolmaximumHeight: realmaximumWi
2014-09-24 21:59:17
1617
翻译 QML类型说明-LayoutMirroring
LayoutMirroringImportStatement: import QtQuick 2.2 PropertieschildrenInherit: boolenabled :bool DetailedDescriptionLayoutMirroring关联属性用于对组件的锚定进行镜像。在定位器(诸如Row和Grid)和视图(诸如GridView和水平Li
2014-09-24 21:59:13
970
翻译 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
1751
转载 NDEF消息格式(翻译版)
TNF 字段值表明表示TYPE 字段值的结构(请参见2.4.2节TYPE 字段描述和第4节TYPE字段相关的国际化问题的说明)。TNF 是3比特字段,值的定义如下表所示: 表1.TNF字段值 类型名称格式值 空 0x00 NFC 论坛知名类型 [NFC RTD
2014-09-18 15:32:41
5686
翻译 QML类型说明-Keys
KeysImportStatement: import QtQuick 2.2 Propertiesenabled :boolforwardTo :listpriority :enumeration SignalsasteriskPressed(KeyEventevent)backPressed(KeyEventevent)backtabPresse
2014-09-16 16:33:42
1461
翻译 QML类型说明-KeyEvent
1. eyEventImport Statement: import QtQuick 2.2 Propertiesaccepted :boolcount : intisAutoRepeat: boolkey : intmodifiers :intnativeScanCode: quint32text :string Methodsboolm
2014-09-16 16:32:26
1599
翻译 QML类型说明-KeyNavigation
KeyNavigationImportStatement: import QtQuick 2.2 Propertiesbacktab :Itemdown : Itemleft : Itempriority :enumerationright : Itemtab : Itemup : Item DetailedDescription用户界面一般
2014-09-16 16:31:51
2320
翻译 QML类型说明-JumpListSeparator
JumpListSeparatorImportStatement: import QtWinExtras 1.0Since: QtWinExtras 1.0 DetailedDescriptionJumpListSeparator代表跳转列表中的分隔符。这个值仅仅用于任务列表。
2014-09-16 16:30:59
585
翻译 QML类型说明-JumpListLink
JumpListLinkImportStatement: import QtWinExtras 1.0Since: QtWinExtras 1.0 Propertiesarguments :stringdescription: stringexecutablePath: stringiconPath :stringtitle :string Det
2014-09-16 16:29:46
642
翻译 QML类型说明-JumpListCategory
JumpListCategoryImportStatement: import QtWinExtras 1.0Since: QtWinExtras 1.0 Propertiesitems :listtitle :stringvisible :bool DetailedDescriptionJumpListCategory表示一个类别。包含几个跳转目的地
2014-09-16 16:27:14
545
翻译 QML类型说明-JumpListDestination
JumpListDestinationImportStatement: import QtWinExtras 1.0Since: QtWinExtras 1.0 PropertiesfilePath :string DetailedDescriptionJumpListDestination包含到达文件的路径,用户能在跳转列表视图中选择或在应用程序中编辑。
2014-09-16 16:26:24
552
翻译 QML类型说明-JumpList
JumpListImportStatement: import QtWinExtras 1.0Since: QtWinExtras 1.0 Propertiescategories :listfrequent :JumpListCategoryrecent :JumpListCategorytasks :JumpListCategory Detaile
2014-09-16 16:26:01
620
翻译 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
799
1
翻译 QML类型说明-Item
ItemImportStatement: import QtQuick 2.2Instantiates: QQuickItemInherits: QtObjectInheritedBy: AnimatedSprite,BorderImage, Canvas, Column, Flickable, Flipable, Flow, FocusScope,
2014-09-16 16:23:16
3199
1
翻译 QML类型说明-IRProximitySensor
IRProximitySensorImportStatement: import QtSensors 5.0Since: QtSensors 5.0Inherits: Sensor DetailedDescription这是红外探测器。这个组件封装于QIRProximitySensor类,更多的信息看QIRProximitySensor的文档。
2014-09-16 16:15:23
557
翻译 QML类型说明-IRProximityReading
1. RProximityReadingImportStatement: import QtSensors 5.0Since: QtSensors 5.0Inherits: SensorReading Propertiesreflectance: qreal DetailedDescriptionIRProximityReading保存最近一次
2014-09-16 16:14:12
547
翻译 QML类型说明-IntValidator
IntValidatorImportStatement: import QtQuick 2.2Instantiates: QIntValidator Propertiesbottom : intlocale :stringtop : int DetailedDescriptionIntValidator是整型数的验证器。如果没有在IntVal
2014-09-16 16:12:50
2484
翻译 QML类型说明-Instantiator
1. nstantiatorImportStatement: import QtQml 2.2 Propertiesactive :boolasynchronous: boolcount : intdelegate :QtQml::Componentmodel : variantobject :QtQml::QtObject Signalsob
2014-09-16 16:08:43
1967
翻译 QML类型说明-InnerShadow
InnerShadowImportStatement: import QtGraphicalEffects 1.0Since: QtGraphicalEffects 1.0Inherits: Item Propertiescached :boolcolor :colorfast : boolhorizontalOffset: realradi
2014-09-16 16:08:35
1163
翻译 QML类型说明名-ImageParticle
ImageParticleImportStatement: import QtQuick.Particles 2.0Inherits: ParticlePainter1.1. Propertiesalpha : realalphaVariation: realautoRotation: boolblueVariation: realcolor
2014-09-16 16:03:53
1285
翻译 QML类型说明-Image
ImageImportStatement: import QtQuick 2.2Inherits: ItemInheritedBy: AnimatedImage. Propertiesasynchronous: boolcache : boolfillMode : enumerationhorizontalAlignment: enumera
2014-09-16 16:00:53
5336
翻译 QML类型说明-HueSaturation
HueSaturationImportStatement: import QtGraphicalEffects 1.0Since: QtGraphicalEffects 1.0Inherits: Item Propertiescached :boolhue : reallightness :realsaturation :realsource
2014-09-16 15:54:17
771
翻译 QML类型说明-HolsterSensor
HolsterSensorImportStatement: import QtSensors 5.0Since: QtSensors 5.1Inherits: Sensor DetailedDescription这个组件报告设备是否有皮套。组件封装于QHolsterSensor类,更多的信息看QHolsterSensor的文档
2014-09-16 15:52:19
612
翻译 QML类型说明-HolsterReading
HolsterReadingImportStatement: import QtSensors 5.0Since: QtSensors 5.1Inherits: SensorReading Propertiesholstered :qreal DetailedDescription皮套读组件保存了皮套传感器最近的读数。组件封装于QHolsterR
2014-09-16 15:50:58
489
翻译 QML类型说明-GyroscopeReading
GyroscopeReadingImportStatement: import QtSensors 5.0Since: QtSensors 5.0Inherits: SensorReading Propertiesx : qrealy : qrealz : qreal DetailedDescription这个组件保存当前陀螺仪的读数。这
2014-09-12 17:38:56
546
翻译 QML类型说明-Gyroscope
G yroscopeImportStatement: import QtSensors 5.0Since: QtSensors 5.0Inherits: Sensor DetailedDescription陀螺仪封装于QGyroscope类。等多的信息看QGyroscope的文档。
2014-09-12 17:35:24
604
翻译 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
2926
翻译 QML类型说明-GroupGoal
GroupGoalImportStatement: import QtQuick.Particles 2.0Inherits: Affector PropertiesgoalState :stringjump : bool DetailedDescription PropertyDocumentationgoalState :string
2014-09-12 17:34:11
623
翻译 QML类型说明-GridView
1. ridViewImportStatement: import QtQuick 2.2Inherits: Flickable Propertiesadd :TransitionaddDisplaced: TransitioncacheBuffer: intcellHeight :realcellWidth :realcount : int
2014-09-12 17:32:02
11010
3
翻译 QML类型说明-GridMesh
GridMeshImportStatement: import QtQuick 2.2Since: Qt 5.0 Propertiesresolution :size DetailedDescriptionGridMesh定义了矩形的、顶点排列在均匀的网格内组成的网。这个组件用于生成几何。网格的分辨率单元由resolution属性指定。 Propert
2014-09-12 17:25:40
979
翻译 QML类型说明-GridLayout
GridLayoutImportStatement: import QtQuick.Layouts 1.1Inherits: Item PropertiescolumnSpacing: realcolumns :intflow :enumerationlayoutDirection: enumerationrowSpacing :realrow
2014-09-12 17:23:10
2894
1
翻译 QML类型说明-Grid
GridImportStatement: import QtQuick 2.2Inherits: Item Propertiesadd :TransitioncolumnSpacing: qrealcolumns :inteffectiveHorizontalItemAlignment: enumerationeffectiveLayoutDire
2014-09-12 17:20:41
3677
1
QML编写的广告机开源软件
2014-09-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人