• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kalgebra

  • sources
  • kde-4.14
  • kdeedu
  • kalgebra
  • mobile
  • plugins
  • widgets
  • neutral
neutral/Button.qml
Go to the documentation of this file.
1 import QtQuick 1.1
2 
3 Item {
4  property alias text: display.text
5  signal clicked
6  width: display.width+15
7  height: display.height+15
8  property alias implicitWidth: display.implicitWidth
9  property alias implicitHeight: display.implicitHeight
10 
11  SystemPalette { id: palette }
12 
13  Rectangle {
14  radius: 5
15  opacity: 0.3
16  anchors.fill: parent
17  anchors.margins: 2
18  color: palette.button
19  border.width: buttonArea.containsMouse ? 5 : 1
20  border.color: palette.buttonText
21  }
22 
23  Text { id: display; anchors.centerIn: parent; color: palette.buttonText }
24 
25  MouseArea {
26  anchors.fill: parent
27  hoverEnabled: true
28  id: buttonArea
29  onClicked: parent.clicked()
30  }
31 }
Rectangle
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalgebra

Skip menu "kalgebra"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal