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

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • examples
  • qml
  • cloud-sync
InputField.qml
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2013 Dennis Nienhüser <earthwings@gentoo.org>
9 //
10 
11 import QtQuick 1.0
12 
13 Rectangle {
14  id: container
15  width: buttonRow.width
16  height: buttonRow.height
17 
18  property alias label: label.text
19  property alias text: input.text
20  property alias echoMode: input.echoMode
21 
22  signal accepted(string text)
23 
24  Row {
25  id: buttonRow
26  spacing: 10
27 
28  Text {
29  id: label
30  y: 2
31  font.pointSize: 12
32  }
33 
34  Rectangle {
35  width: Math.max(100, input.width+20)
36  height: input.height+4
37  radius: 3
38  smooth: true
39 
40  border {
41  width: 1
42  color: "#aaaaaa"
43  }
44 
45  TextInput {
46  id: input
47  x: 2
48  anchors.verticalCenter: parent.verticalCenter
49 
50  font.pointSize: 12
51  onAccepted: container.accepted(text)
52  }
53  }
54  }
55 }
Rectangle
Marble::radius
static qreal radius(qreal zoom)
Definition: thumbnailer.cpp:99
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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