• 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
  • src
  • plugins
  • render
  • annotate
TextEditor.h
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 2009 Andrew Manson <g.real.ate@gmail.com>
9 // Copyright 2013 Thibaut Gridel <tgridel@free.fr>
10 //
11 
12 #ifndef TEXTEDITOR_H
13 #define TEXTEDITOR_H
14 
15 #include <QWidget>
16 
17 class QLineEdit;
18 class QToolButton;
19 class QTextEdit;
20 class QHBoxLayout;
21 class QVBoxLayout;
22 
23 namespace Marble
24 {
25 
26 class GeoDataPlacemark;
27 
28 class TextEditor : public QWidget
29 {
30  Q_OBJECT
31 
32 public:
33  explicit TextEditor( GeoDataPlacemark *placemark );
34  ~TextEditor();
35 
36 public Q_SLOTS:
37  void updateName();
38  void updateDescription();
39 
40 private:
41  GeoDataPlacemark *m_placemark;
42 
43  QAction *m_boldAction;
44  QAction *m_underLineAction;
45  QAction *m_italicAction;
46 
47  QToolButton *m_boldButton;
48  QToolButton *m_underLineButton;
49  QToolButton *m_italicButton;
50 
51  QLineEdit *m_name;
52  QTextEdit *m_description;
53 
54  QHBoxLayout *m_buttonLayout;
55  QVBoxLayout *m_layout;
56 };
57 
58 }
59 
60 #endif // TEXTEDITOR_H
Marble::TextEditor::~TextEditor
~TextEditor()
Definition: TextEditor.cpp:91
QWidget
QHBoxLayout
Marble::TextEditor
Definition: TextEditor.h:28
Marble::TextEditor::TextEditor
TextEditor(GeoDataPlacemark *placemark)
Definition: TextEditor.cpp:28
QVBoxLayout
Marble::TextEditor::updateDescription
void updateDescription()
Definition: TextEditor.cpp:101
QToolButton
Marble::TextEditor::updateName
void updateName()
Definition: TextEditor.cpp:96
QAction
QLineEdit
QTextEdit
Marble::GeoDataPlacemark
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 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