You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mathemagics/mathemagics/stacklevel.h

35 lines
540 B

#ifndef STACKLEVEL_H
#define STACKLEVEL_H
class QLineEdit;
class QPushButton;
class QWidget;
#include <qhbox.h>
class StackLevel : public QHBox
{
Q_OBJECT
public:
StackLevel(int, QWidget *parent=0, const char *name=0);
virtual void setEnabled(bool enabled);
QLineEdit *edit() { return m_edit; }
QPushButton *button() { return m_button; }
signals:
void buttonPressed(int);
void returnPressed(int);
protected slots:
void emitButton();
void emitEdit();
private:
QLineEdit *m_edit;
QPushButton *m_button;
int id;
};
#endif