当前位置:网站首页>QT QML component library records owned by QML except basic components

QT QML component library records owned by QML except basic components

2022-04-23 21:58:00 Stream slag_ Liang Shihua

preface

These are some non basic components , Not all are recorded here , I just met , I see. It's recorded here , So it will be updated all the time .

Only the direct attributes and methods of this class are recorded , The rest of the inheritance will be read by themselves Qt assistant

One 、 The dashboard

1、CircularGauge—— Conventional car dashboard

 Introduce

Properties
maximumValue : real
minimumValue : real
stepSize : real
tickmarksVisible : bool
value : alias 

CircularGauge

Two 、 menu

1、PieMenu—— Arc menu item

 Introduce

Properties
boundingItem : Item
currentIndex : int
currentItem : int
menuItems : list<MenuItem>
selectionAngle : real
title : string
triggerMode : int 

Methods
void addItem(string text)
void insertItem(int before, string text)
void popup(real x, real y)
void removeItem(item) 

PieMenu

3、 ... and 、 state

1、StatusIncator—— Similar to breathing lamp

 Introduce

Properties
active : bool		// Whether the light is on 
color : color 		// Lighting color selection 

StatusIndicator

Four 、 Button

1、DelayButton—— Click the button to start later

 Introduce

Properties
delay : int
progress : real 

Signals
activated() 

DelayButton
After clicking, the red line will slide along the circle , Just a full circle

2、ToggleButton—— Left red right green switch button

 Introduce
No special properties or methods
ToggleButton

5、 ... and 、 data input

1、Tumbler—— Roller type

 brief introduction

Properties
columnCount : int 

Methods
TumblerColumn addColumn(TumblerColumn column)
int currentIndexAt(int columnIndex)
TumblerColumn getColumn(int columnIndex)
TumblerColumn insertColumn(int index, TumblerColumn column)
void setCurrentIndexAt(int columnIndex, int itemIndex, int interval) 

Tumbler

To be updated …

版权声明
本文为[Stream slag_ Liang Shihua]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204200611443771.html