Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/IntroIcon.qml
Show All 10 Lines | 1 | /* | |||
---|---|---|---|---|---|
11 | Library General Public License for more details. | 11 | Library General Public License for more details. | ||
12 | 12 | | |||
13 | You should have received a copy of the GNU Library General Public License | 13 | You should have received a copy of the GNU Library General Public License | ||
14 | along with this library; see the file COPYING.LIB. If not, write to | 14 | along with this library; see the file COPYING.LIB. If not, write to | ||
15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
16 | Boston, MA 02110-1301, USA. | 16 | Boston, MA 02110-1301, USA. | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | import QtQuick 2.1 | 19 | import QtQuick 2.5 | ||
20 | import QtQuick.Controls 2.5 as QQC2 | ||||
20 | import QtQuick.Layouts 1.1 | 21 | import QtQuick.Layouts 1.1 | ||
21 | import QtQuick.Controls 2.0 as QQC2 | | |||
22 | import org.kde.kirigami 2.1 as Kirigami | | |||
23 | 22 | | |||
23 | import org.kde.kirigami 2.5 as Kirigami | ||||
24 | 24 | | |||
25 | MouseArea { | 25 | MouseArea { | ||
26 | id: item | 26 | id: item | ||
27 | property alias icon: iconItem.source | 27 | property alias icon: iconItem.source | ||
28 | property alias text: label.text | 28 | property alias text: label.text | ||
29 | property string module | 29 | property string module | ||
30 | property int iconSize: Kirigami.Units.iconSizes.huge | 30 | property int iconSize: Kirigami.Units.iconSizes.huge | ||
31 | Layout.minimumWidth: Kirigami.Units.iconSizes.medium | 31 | Layout.minimumWidth: Kirigami.Units.iconSizes.medium | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |