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

kalgebra

Public Slots | Signals | Public Member Functions | List of all members
FunctionEdit Class Reference

#include <functionedit.h>

Inheritance diagram for FunctionEdit:
Inheritance graph
[legend]

Public Slots

void clear ()
 

Signals

void accept ()
 
void removeEditingPlot ()
 

Public Member Functions

 FunctionEdit (QWidget *parent=0)
 
 ~FunctionEdit ()
 
QColor color () const
 
Analitza::PlaneCurve * createFunction () const
 
bool editing () const
 
Analitza::Expression expression () const
 
QString name () const
 
virtual void resizeEvent (QResizeEvent *ev)
 
void setColor (const QColor &newColor)
 
void setEditing (bool m)
 
void setFunction (const QString &newText)
 
void setName (const QString &name)
 
void setOptionsShown (bool shown)
 
void setVariables (Analitza::Variables *v)
 
Analitza::Variables * variables () const
 

Detailed Description

The FunctionEdit dialog provides a way to specify functions.

Author
Aleix Pol i Gonzalez

Definition at line 46 of file functionedit.h.

Constructor & Destructor Documentation

FunctionEdit::FunctionEdit ( QWidget *  parent = 0)
explicit

Constructor.

Definition at line 47 of file functionedit.cpp.

FunctionEdit::~FunctionEdit ( )

Destructor.

Definition at line 140 of file functionedit.cpp.

Member Function Documentation

void FunctionEdit::accept ( )
signal

Tells that the result has been accepted.

void FunctionEdit::clear ( )
slot

Clears the dialog.

Definition at line 143 of file functionedit.cpp.

QColor FunctionEdit::color ( ) const
inline

Retrieves the selected color for the function.

Definition at line 65 of file functionedit.h.

PlaneCurve * FunctionEdit::createFunction ( ) const

Definition at line 291 of file functionedit.cpp.

bool FunctionEdit::editing ( ) const
inline

Returns whether we are editing or adding a function.

Definition at line 71 of file functionedit.h.

Analitza::Expression FunctionEdit::expression ( ) const

Retrieves the resulting expression text.

Definition at line 303 of file functionedit.cpp.

QString FunctionEdit::name ( ) const
inline

Retrieves a name for the function.

(Not used YET)

Definition at line 80 of file functionedit.h.

void FunctionEdit::removeEditingPlot ( )
signal

asks the currently edited plot to be removed.

void FunctionEdit::resizeEvent ( QResizeEvent *  ev)
virtual

Definition at line 313 of file functionedit.cpp.

void FunctionEdit::setColor ( const QColor &  newColor)

Sets the selected color for the function.

Definition at line 156 of file functionedit.cpp.

void FunctionEdit::setEditing ( bool  m)

Sets whether we are editing or adding a function.

Definition at line 319 of file functionedit.cpp.

void FunctionEdit::setFunction ( const QString &  newText)

Sets an expression text to the ExpressionEdit widget.

Definition at line 150 of file functionedit.cpp.

void FunctionEdit::setName ( const QString &  name)
inline

Sets a name to the function.

(Not used YET)

Definition at line 77 of file functionedit.h.

void FunctionEdit::setOptionsShown ( bool  shown)

Definition at line 308 of file functionedit.cpp.

void FunctionEdit::setVariables ( Analitza::Variables *  v)
inline

Sets the variables class to be used with the graph functions.

Definition at line 83 of file functionedit.h.

Analitza::Variables* FunctionEdit::variables ( ) const
inline

Definition at line 85 of file functionedit.h.


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