HP Views Designer Assistant: D:/Documentos/ViewDesignerAssistant/Model/ink.h Source File

| HP Views Designer Assistant 1.0.0 TFG - Alberto Gutierrez Perez - Universidad de Valladolid |

ink.h
1 #ifndef INK_H
2 #define INK_H
3
4 #include <Model/interfaz.h>
5 #include <Model/inktextoption.h>
6 #include <QVector>
7
11 class Ink : public Interfaz
12 {
13
14 ;
15 public:
16
20 Ink();
21
27 void addColor(int position, QColor color);
28
34 QColor getColor(int position);
35
40 void setNumberOfElements(int numberOfElements);
41
46 bool createByEdit();
47
52 InkTextOption getTextOption() const;
53
58 void setTextOption(const InkTextOption &value);
59
64 bool isComplete();
65
70 QVector<QColor> *getInkColors() const;
71
76 void createInkColors(int number);
77
78 private:
79
83 InkTextOption textOption;
84
88 QVector<QColor> *inkColors;
89 };
90
91 #endif // INK_H
Ink::setNumberOfElements
void setNumberOfElements(int numberOfElements)
setNumberOfElements Resize the number of interface elements.
Definition: ink.cpp:29
Ink::createByEdit
bool createByEdit()
createByEdit Returns if the interfaces has been created by edition.
Ink::getTextOption
InkTextOption getTextOption() const
getTextOption Returns the text option of the screen.
Definition: ink.cpp:9
Ink::getColor
QColor getColor(int position)
getColor Returns the color at the specified position.
Definition: ink.cpp:24
Ink::textOption
InkTextOption textOption
textOption Specifies the text option of the interface.
Definition: ink.h:83
Ink::isComplete
bool isComplete()
isComplete Returns if the interface is complete.
Definition: ink.cpp:49
Ink::inkColors
QVector< QColor > * inkColors
inkColors Interface color list.
Definition: ink.h:88
Interfaz::numberOfElements
int numberOfElements
numberOfElements Screen number of elements.
Definition: interfaz.h:175
Ink::createInkColors
void createInkColors(int number)
createInkColors Create the interface color list.
Definition: ink.cpp:59
Ink::getInkColors
QVector< QColor > * getInkColors() const
getInkColors Returns the colors of the interface.
Definition: ink.cpp:54
Interfaz
The Interfaz class. Represents generic screen.
Definition: interfaz.h:10
Ink::Ink
Ink()
Ink constructor.
Definition: ink.cpp:4
Ink::setTextOption
void setTextOption(const InkTextOption &value)
setTextOption Raplaces the text option.
Definition: ink.cpp:14
Ink
The Ink class. Represents Ink screens.
Definition: ink.h:11
Ink::addColor
void addColor(int position, QColor color)
addColor Adds color at the specified position.
Definition: ink.cpp:19