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

kalgebra

  • sources
  • kde-4.12
  • kdeedu
  • kalgebra
  • src
dictionary.h
Go to the documentation of this file.
1 /*************************************************************************************
2  * Copyright (C) 2007 by Aleix Pol <aleixpol@kde.org> *
3  * *
4  * This program is free software; you can redistribute it and/or *
5  * modify it under the terms of the GNU General Public License *
6  * as published by the Free Software Foundation; either version 2 *
7  * of the License, or (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, write to the Free Software *
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA *
17  *************************************************************************************/
18 
19 #ifndef DICTIONARY_H
20 #define DICTIONARY_H
21 
22 #include <QWidget>
23 #include <QSortFilterProxyModel>
24 
25 namespace Analitza
26 {
27 class Variables;
28 class PlotsView2D;
29 class PlotsModel;
30 }
31 
32 class QLabel;
33 class QModelIndex;
34 class OperatorsModel;
35 class QtMmlWidget;
36 
40 class Dictionary : public QWidget
41 {
42 Q_OBJECT
43  public:
44  Dictionary(QWidget *p=0);
45  virtual ~Dictionary();
46 
47  QSortFilterProxyModel* model() const { return m_sortProxy; }
48 
49  public slots:
50  void activated(const QModelIndex& prev, const QModelIndex& );
51  void setFilter(const QString&);
52 
53  private:
54  QLabel *m_name;
55  QLabel *m_descr;
56  QLabel *m_sample;
57  QLabel *m_example;
58 
59  QtMmlWidget* m_formula;
60  Analitza::PlotsView2D *m_graph;
61  Analitza::PlotsModel *m_funcs;
62  OperatorsModel *m_ops;
63  Analitza::Variables* m_vars;
64  QSortFilterProxyModel *m_sortProxy;
65 };
66 
67 #endif
QWidget
Dictionary::setFilter
void setFilter(const QString &)
Definition: dictionary.cpp:134
Dictionary::model
QSortFilterProxyModel * model() const
Definition: dictionary.h:47
Dictionary
Definition: dictionary.h:40
Dictionary::activated
void activated(const QModelIndex &prev, const QModelIndex &)
Definition: dictionary.cpp:94
Dictionary::~Dictionary
virtual ~Dictionary()
Definition: dictionary.cpp:89
Dictionary::Dictionary
Dictionary(QWidget *p=0)
Definition: dictionary.cpp:36
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