• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • superkaramba
 

superkaramba

textfield.h
00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Ralph M. Churchill                              *
00003  *   mrchucho@yahoo.com                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 
00011 #ifndef TEXTFIELD_H
00012 #define TEXTFIELD_H
00013 #include <tqstring.h>
00014 #include <tqcolor.h>
00015 #include <tqfont.h>
00016 
00021 class TextField
00022 {
00023 public:
00024     TextField();
00025     TextField( const TextField& );
00026     ~TextField();
00027 
00028     TextField& operator=(const TextField& );
00029 
00030     void setFontSize( int );
00031     void setColor(TQColor clr);
00032     void setBGColor(TQColor clr);
00033     void setFont( const TQString& );
00034     void setAlignment( int );
00035     void setAlignment( const TQString& );
00036     void setFixedPitch( bool );
00037     void setShadow( int );
00038 
00039     int getFontSize() const;
00040     TQColor getColor() const;
00041     TQColor getBGColor() const;
00042     TQString getFont() const;
00043     int getAlignment() const;
00044     TQString getAlignmentAsString() const;
00045     bool getFixedPitch() const;
00046     int getShadow() const;
00047     int getLineHeight() const;
00048 
00049 protected:
00050     int alignment;
00051     TQFont font;
00052     TQColor color;
00053     TQColor bgColor;
00054     int shadow;
00055     int lineHeight;
00056 
00057 }
00058 ;
00059 #endif // TEXTFIELD_H

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

superkaramba

Skip menu "superkaramba"
  • kcalc
  •   knumber
  • superkaramba
Generated for superkaramba by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |