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
551 B

#ifndef STACKLEVEL_H
#define STACKLEVEL_H
class TQLineEdit;
class TQPushButton;
class TQWidget;
#include <tqhbox.h>
class StackLevel : public TQHBox
{
TQ_OBJECT
public:
StackLevel(int, TQWidget *parent=0, const char *name=0);
virtual void setEnabled(bool enabled);
TQLineEdit *edit() { return m_edit; }
TQPushButton *button() { return m_button; }
signals:
void buttonPressed(int);
void returnPressed(int);
protected slots:
void emitButton();
void emitEdit();
private:
TQLineEdit *m_edit;
TQPushButton *m_button;
int id;
};
#endif