Changeset View
Changeset View
Standalone View
Standalone View
org.kde.desktop/TabButton.qml
Show All 17 Lines | |||||
18 | * ensure the GNU General Public License version 2.0 requirements will be | 18 | * ensure the GNU General Public License version 2.0 requirements will be | ||
19 | * met: http://www.gnu.org/licenses/gpl-2.0.html. | 19 | * met: http://www.gnu.org/licenses/gpl-2.0.html. | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | 22 | | |||
23 | import QtQuick 2.6 | 23 | import QtQuick 2.6 | ||
24 | import QtQml.Models 2.1 | 24 | import QtQml.Models 2.1 | ||
25 | //for TabBar.* | 25 | //for TabBar.* | ||
26 | import QtQuick.Controls 2.0 | 26 | import QtQuick.Controls @QQC2_VERSION@ | ||
27 | import org.kde.qqc2desktopstyle.private 1.0 as StylePrivate | 27 | import org.kde.qqc2desktopstyle.private 1.0 as StylePrivate | ||
28 | import QtQuick.Templates 2.0 as T | 28 | import QtQuick.Templates @QQC2_VERSION@ as T | ||
29 | 29 | | |||
30 | T.TabButton { | 30 | T.TabButton { | ||
31 | id: controlRoot | 31 | id: controlRoot | ||
32 | 32 | | |||
33 | implicitWidth: styleitem.implicitWidth | 33 | implicitWidth: styleitem.implicitWidth | ||
34 | implicitHeight: styleitem.implicitHeight | 34 | implicitHeight: styleitem.implicitHeight | ||
35 | baselineOffset: contentItem.y + contentItem.baselineOffset | 35 | baselineOffset: contentItem.y + contentItem.baselineOffset | ||
36 | 36 | | |||
Show All 34 Lines |