Logo Search packages:      
Sourcecode: kalgebra version File versions  Download package


#ifndef KVAREDIT_H
#define KVAREDIT_H

#include <kdialogbase.h>
#include <qlayout.h>
#include <qradiobutton.h>
#include <qlineedit.h>
#include <klocale.h>
#include <qhbox.h>

@author Kiko Canes i Gonzalez xD
00014 class KVarEdit : public KDialogBase
      KVarEdit(QWidget *parent = 0, const char *name = 0, bool modal = FALSE, WFlags f = 0 );
      QString text() { return m_exp->text(); }
      void setExpression(QString newExp) { m_exp->setText(newExp); } //This should edit variable lineedit
      void setVar(QString newVar){ qDebug("Kiko desperta: %s", newVar.ascii()); } //This should edit the variable name
      void setMode(int mode); //This should select what Option we need
//    QComboBox *m_vars;
      QLineEdit *m_exp;
      QRadioButton *m_opt_calc; //Per escollir guardar calcul
      QRadioButton *m_opt_exp; //Per escollir guardar expressio
private slots:
      void edit();


Generated by  Doxygen 1.6.0   Back to index