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.
kbarcode/kbarcode/textlineedit.h

72 lines
1.3 KiB

//
// C++ Interface: textlineedit
//
// Description:
//
//
// Author: Dominik Seichter <domseichter@web.de>, (C) 2004
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef TECLINEEDITDLG_H
#define TECLINEEDITDLG_H
#include <tqwidget.h>
#include <knuminput.h>
class KActionCollection;
class KToggleAction;
class KFontAction;
class KFontSizeAction;
class KToolBar;
class KSpell;
class KSpellConfig;
class KComboBox;
class TokenProvider;
class KLineEdit;
class TextLineEditor : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
TextLineEditor( TokenProvider* token, TQWidget *parent=0, const char *name=0);
~TextLineEditor();
TQString text();
KIntNumInput* mag_vert;
KIntNumInput* mag_hor;
void setText( const TQString & t );
void setFontType(int index);
int getFontType();
int getHorMag();
void setHorMag( int index );
int getVertMag();
void setVertMag( int index );
private slots:
void setupActions();
void updateActions();
void insertNewField();
protected:
TokenProvider* m_token;
KLineEdit* editor;
KActionCollection* ac;
KComboBox *action_font_type ;
KToolBar* toolBar;
KToolBar* tool2Bar;
KToolBar* tool3Bar;
};
#endif