• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

superkaramba

  • sources
  • kde-4.12
  • kdeutils
  • superkaramba
  • src
  • meters
textfield.h
Go to the documentation of this file.
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 
14 
15 #include <QColor>
16 #include <QFont>
17 
22 class TextField
23 {
24 public:
25  TextField();
26  TextField(const TextField&);
27  ~TextField();
28 
29  TextField& operator=(const TextField&);
30 
31  void setFontSize(int);
32  void setColor(QColor clr);
33  void setBGColor(QColor clr);
34  void setFont(const QString&);
35  void setAlignment(int);
36  void setAlignment(const QString&);
37  void setFixedPitch(bool);
38  void setShadow(int);
39 
40  int getFontSize() const;
41  QColor getColor() const;
42  QColor getBGColor() const;
43  QString getFont() const;
44  int getAlignment() const;
45  QString getAlignmentAsString() const;
46  bool getFixedPitch() const;
47  int getShadow() const;
48  int getLineHeight() const;
49 
50 protected:
51  int alignment;
52  QFont font;
53  QColor color;
54  QColor bgColor;
55  int shadow;
56  int lineHeight;
57 
58 }
59 ;
60 #endif // TEXTFIELD_H
TextField::lineHeight
int lineHeight
Definition: textfield.h:56
TextField::getFontSize
int getFontSize() const
Definition: textfield.cpp:99
TextField::setBGColor
void setBGColor(QColor clr)
Definition: textfield.cpp:70
TextField::getShadow
int getShadow() const
Definition: textfield.cpp:150
TextField::setFont
void setFont(const QString &)
Definition: textfield.cpp:81
TextField::setShadow
void setShadow(int)
Definition: textfield.cpp:145
TextField::bgColor
QColor bgColor
Definition: textfield.h:54
TextField::getFont
QString getFont() const
Definition: textfield.cpp:88
TextField::getColor
QColor getColor() const
Definition: textfield.cpp:65
TextField::color
QColor color
Definition: textfield.h:53
TextField::getBGColor
QColor getBGColor() const
Definition: textfield.cpp:75
TextField::operator=
TextField & operator=(const TextField &)
Definition: textfield.cpp:42
TextField::setAlignment
void setAlignment(int)
Definition: textfield.cpp:115
TextField::getAlignment
int getAlignment() const
Definition: textfield.cpp:120
TextField::setColor
void setColor(QColor clr)
Definition: textfield.cpp:60
TextField::setFixedPitch
void setFixedPitch(bool)
Definition: textfield.cpp:135
TextField::shadow
int shadow
Definition: textfield.h:55
TextField::font
QFont font
Definition: textfield.h:52
TextField::getFixedPitch
bool getFixedPitch() const
Definition: textfield.cpp:140
TextField::~TextField
~TextField()
Definition: textfield.cpp:26
TextField::getLineHeight
int getLineHeight() const
Definition: textfield.cpp:155
TextField::TextField
TextField()
Definition: textfield.cpp:15
TextField::setFontSize
void setFontSize(int)
Definition: textfield.cpp:93
TextField
Ralph M.
Definition: textfield.h:22
TextField::getAlignmentAsString
QString getAlignmentAsString() const
Definition: textfield.cpp:125
TextField::alignment
int alignment
Definition: textfield.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

superkaramba

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal