Changeset View
Changeset View
Standalone View
Standalone View
effects/presentwindows/main.qml
Show All 14 Lines | |||||
15 | GNU General Public License for more details. | 15 | GNU General Public License for more details. | ||
16 | 16 | | |||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | import QtQuick 2.0 | 20 | import QtQuick 2.0 | ||
21 | import org.kde.plasma.components 2.0 as Plasma | 21 | import org.kde.plasma.components 2.0 as Plasma | ||
22 | 22 | | |||
23 | Item { | | |||
24 | width: units.iconSizes.medium | | |||
25 | height: width | | |||
26 | | ||||
27 | Plasma.Button { | 23 | Plasma.Button { | ||
28 | id: closeButton | 24 | id: closeButton | ||
29 | objectName: "closeButton" | | |||
30 | iconSource: "window-close" | 25 | iconSource: "window-close" | ||
31 | anchors.fill: parent | 26 | anchors.fill: parent | ||
32 | } | 27 | implicitWidth: units.iconSizes.medium | ||
28 | implicitHeight: implicitWidth | ||||
33 | } | 29 | } |