Changeset View
Changeset View
Standalone View
Standalone View
applets/kickoff/package/contents/ui/KickoffItem.qml
Show All 17 Lines | 1 | /* | |||
---|---|---|---|---|---|
18 | with this program; if not, write to the Free Software Foundation, Inc., | 18 | with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 19 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | */ | 20 | */ | ||
21 | import QtQuick 2.0 | 21 | import QtQuick 2.0 | ||
22 | import org.kde.plasma.core 2.0 as PlasmaCore | 22 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
23 | import org.kde.plasma.components 2.0 as PlasmaComponents | 23 | import org.kde.plasma.components 2.0 as PlasmaComponents | ||
24 | import org.kde.draganddrop 2.0 | 24 | import org.kde.draganddrop 2.0 | ||
25 | 25 | | |||
26 | import "../code/tools.js" as Tools | 26 | import "code/tools.js" as Tools | ||
27 | 27 | | |||
28 | Item { | 28 | Item { | ||
29 | id: listItem | 29 | id: listItem | ||
30 | 30 | | |||
31 | width: ListView.view.width | 31 | width: ListView.view.width | ||
32 | height: (units.smallSpacing * 2) + Math.max(elementIcon.height, titleElement.height + subTitleElement.height) | 32 | height: (units.smallSpacing * 2) + Math.max(elementIcon.height, titleElement.height + subTitleElement.height) | ||
33 | 33 | | |||
34 | signal actionTriggered(string actionId, variant actionArgument) | 34 | signal actionTriggered(string actionId, variant actionArgument) | ||
▲ Show 20 Lines • Show All 215 Lines • Show Last 20 Lines |