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

marble

  • Marble
  • MarbleLineEdit
Signals | Public Member Functions | Protected Member Functions | List of all members
Marble::MarbleLineEdit Class Reference

#include <MarbleLineEdit.h>

Inheritance diagram for Marble::MarbleLineEdit:
Inheritance graph
[legend]

Signals

void clearButtonClicked ()
 
void decoratorButtonClicked ()
 

Public Member Functions

 MarbleLineEdit (QWidget *parent=0)
 
 ~MarbleLineEdit ()
 
void setBusy (bool busy)
 
void setDecorator (const QPixmap &decorator)
 

Protected Member Functions

virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 

Detailed Description

A QLineEdit with an embedded clear button.

The clear button removes any input in the line edit when clicked with the left mouse button. It replaces the line edit input with the current clipboard content on a middle mouse button click.

Definition at line 32 of file MarbleLineEdit.h.

Constructor & Destructor Documentation

Marble::MarbleLineEdit::MarbleLineEdit ( QWidget *  parent = 0)
explicit

Constructor.

Definition at line 93 of file MarbleLineEdit.cpp.

Marble::MarbleLineEdit::~MarbleLineEdit ( )

Destructor.

Definition at line 106 of file MarbleLineEdit.cpp.

Member Function Documentation

void Marble::MarbleLineEdit::clearButtonClicked ( )
signal

The clear button was clicked with the left mouse button.

void Marble::MarbleLineEdit::decoratorButtonClicked ( )
signal
void Marble::MarbleLineEdit::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 180 of file MarbleLineEdit.cpp.

void Marble::MarbleLineEdit::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Definition at line 202 of file MarbleLineEdit.cpp.

void Marble::MarbleLineEdit::setBusy ( bool  busy)

Definition at line 131 of file MarbleLineEdit.cpp.

void Marble::MarbleLineEdit::setDecorator ( const QPixmap &  decorator)

Definition at line 111 of file MarbleLineEdit.cpp.


The documentation for this class was generated from the following files:
  • MarbleLineEdit.h
  • MarbleLineEdit.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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