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

superkaramba

  • superkaramba
  • src
textfield.h
1 /***************************************************************************
2  * Copyright (C) 2003 by Ralph M. Churchill *
3  * mrchucho@yahoo.com *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  ***************************************************************************/
10 
11 #ifndef TEXTFIELD_H
12 #define TEXTFIELD_H
13 #include <tqstring.h>
14 #include <tqcolor.h>
15 #include <tqfont.h>
16 
21 class TextField
22 {
23 public:
24  TextField();
25  TextField( const TextField& );
26  ~TextField();
27 
28  TextField& operator=(const TextField& );
29 
30  void setFontSize( int );
31  void setColor(TQColor clr);
32  void setBGColor(TQColor clr);
33  void setFont( const TQString& );
34  void setAlignment( int );
35  void setAlignment( const TQString& );
36  void setFixedPitch( bool );
37  void setShadow( int );
38 
39  int getFontSize() const;
40  TQColor getColor() const;
41  TQColor getBGColor() const;
42  TQString getFont() const;
43  int getAlignment() const;
44  TQString getAlignmentAsString() const;
45  bool getFixedPitch() const;
46  int getShadow() const;
47  int getLineHeight() const;
48 
49 protected:
50  int alignment;
51  TQFont font;
52  TQColor color;
53  TQColor bgColor;
54  int shadow;
55  int lineHeight;
56 
57 }
58 ;
59 #endif // TEXTFIELD_H
TextField
Ralph M.
Definition: textfield.h:21

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.8.13
This website is maintained by Timothy Pearson.