UI: Update Qt 5.12

This commit is contained in:
Nodir Temirkhodjaev 2018-04-14 09:54:43 +05:00
parent 16a83de3be
commit 0623cf9a43
11 changed files with 22 additions and 22 deletions

View File

@ -43,9 +43,9 @@ T.Button {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
contentItem.implicitHeight + topPadding + bottomPadding)
implicitContentHeight + topPadding + bottomPadding)
padding: 6
horizontalPadding: padding + 2

View File

@ -43,9 +43,9 @@ T.CheckDelegate {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
Math.max(contentItem.implicitHeight,
Math.max(implicitContentHeight,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
padding: 12

View File

@ -43,9 +43,9 @@ T.ItemDelegate {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
Math.max(contentItem.implicitHeight,
Math.max(implicitContentHeight,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
padding: 12

View File

@ -43,9 +43,9 @@ T.MenuBarItem {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
Math.max(contentItem.implicitHeight,
Math.max(implicitContentHeight,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
spacing: 6

View File

@ -43,9 +43,9 @@ T.MenuItem {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
Math.max(contentItem.implicitHeight,
Math.max(implicitContentHeight,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
padding: 6

View File

@ -43,9 +43,9 @@ T.RadioDelegate {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
Math.max(contentItem.implicitHeight,
Math.max(implicitContentHeight,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
padding: 12

View File

@ -43,9 +43,9 @@ T.RoundButton {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
contentItem.implicitHeight + topPadding + bottomPadding)
implicitContentHeight + topPadding + bottomPadding)
padding: 6
spacing: 6

View File

@ -43,9 +43,9 @@ T.SwipeDelegate {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
Math.max(contentItem.implicitHeight,
Math.max(implicitContentHeight,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
padding: 12

View File

@ -43,9 +43,9 @@ T.SwitchDelegate {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
Math.max(contentItem.implicitHeight,
Math.max(implicitContentHeight,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
padding: 12

View File

@ -43,9 +43,9 @@ T.TabButton {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
contentItem.implicitHeight + topPadding + bottomPadding)
implicitContentHeight + topPadding + bottomPadding)
padding: 6
spacing: 6

View File

@ -43,9 +43,9 @@ T.ToolButton {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
contentItem.implicitHeight + topPadding + bottomPadding)
implicitContentHeight + topPadding + bottomPadding)
padding: 6
spacing: 6