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

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

interfaz.h
1 #ifndef INTERFAZ_H
2 #define INTERFAZ_H
3 #include <QString>
4 #include <Model/icon.h>
5 #include <QColor>
6
10 class Interfaz
11 {
12 public:
13
17 Interfaz();
18
23 int getHeight();
24
29 void setHeigth(int height);
30
35 int getWidth();
36
41 void setWidth(int width);
42
47 int getNumberOfElements() const ;
48
53 void setNumberOfElements(int value);
54
59 int getNumberOfRows()const ;
60
65 void setNumberOfRows(int value);
66
71 int getNumberOfCols() const ;
72
77 void setNumberOfCols(int value);
78
83 QString getImageBackground() const ;
84
89 void setImageBackground(QString value);
90
95 QColor getColorBackground() ;
96
101 void setColorBackground( const QColor &value);
102
107 bool getHasIcons() const ;
108
113 void setHasIcons(bool value);
114
119 bool getHasImageBackground() const ;
120
125 void setHasImageBackground(bool value);
126
127 private:
128
132 int numberOfCols;
133
137 int numberOfRows;
138
142 int height;
143
147 int width;
148
152 QString imageBackground;
153
157 bool hasImageBackground;
158
162 bool hasIcons;
163
167 QColor colorBackground;
168
169
170 protected:
171
175 int numberOfElements;
176
177 };
178
179 #endif // INTERFAZ_H
Interfaz::getHasIcons
bool getHasIcons() const
getHasIcons Returns if the interface has icons.
Definition: interfaz.cpp:80
Interfaz::getHasImageBackground
bool getHasImageBackground() const
getHasImageBackground Returns if the interface has an image background.
Definition: interfaz.cpp:90
Interfaz::colorBackground
QColor colorBackground
colorBackground Scrren background color.
Definition: interfaz.h:167
Interfaz::imageBackground
QString imageBackground
imageBackground Screen image background path.
Definition: interfaz.h:152
Interfaz::getWidth
int getWidth()
getWidth Returns the screen width.
Definition: interfaz.cpp:20
Interfaz::numberOfElements
int numberOfElements
numberOfElements Screen number of elements.
Definition: interfaz.h:175
Interfaz::setHeigth
void setHeigth(int height)
setHeigth Replaces the screen height.
Definition: interfaz.cpp:15
Interfaz::setNumberOfElements
void setNumberOfElements(int value)
setNumberOfElements Raplaces the screen number of elements.
Definition: interfaz.cpp:35
Interfaz::numberOfCols
int numberOfCols
numberOfCols Screen number of columns.
Definition: interfaz.h:132
Interfaz::getImageBackground
QString getImageBackground() const
getImageBackground Returns the screen background image path.
Definition: interfaz.cpp:60
Interfaz::hasImageBackground
bool hasImageBackground
hasImageBackground Screen background option.
Definition: interfaz.h:157
Interfaz::getNumberOfElements
int getNumberOfElements() const
getNumberOfElements Returns the screen number of elements.
Definition: interfaz.cpp:30
Interfaz::getNumberOfRows
int getNumberOfRows() const
getNumberOfRows Returns the screen number of rows.
Definition: interfaz.cpp:40
Interfaz::height
int height
height Screen height
Definition: interfaz.h:142
Interfaz::width
int width
width Screen width
Definition: interfaz.h:147
Interfaz::setImageBackground
void setImageBackground(QString value)
setImageBackground Replaces the screen background image path.
Definition: interfaz.cpp:65
Interfaz::numberOfRows
int numberOfRows
numberOfRows Screen number of rows.
Definition: interfaz.h:137
Interfaz
The Interfaz class. Represents generic screen.
Definition: interfaz.h:10
Interfaz::setNumberOfCols
void setNumberOfCols(int value)
setNumberOfCols Replaces the screen number of columns.
Definition: interfaz.cpp:55
Interfaz::getNumberOfCols
int getNumberOfCols() const
getNumberOfCols Returns the screen number of columns.
Definition: interfaz.cpp:50
Interfaz::setHasImageBackground
void setHasImageBackground(bool value)
setHasImageBackground Specifies if the interface has an image background.
Definition: interfaz.cpp:95
Interfaz::getColorBackground
QColor getColorBackground()
getColorBackground Returns the screen background color.
Definition: interfaz.cpp:70
Interfaz::Interfaz
Interfaz()
Interfaz constructor.
Definition: interfaz.cpp:5
Interfaz::setColorBackground
void setColorBackground(const QColor &value)
setColorBackground Repalces the screen background color.
Definition: interfaz.cpp:75
Interfaz::setWidth
void setWidth(int width)
setWidth Repalces the screen width.
Definition: interfaz.cpp:25
Interfaz::getHeight
int getHeight()
getHeigth Returns the screen height.
Definition: interfaz.cpp:10
Interfaz::setHasIcons
void setHasIcons(bool value)
setHasIcons Specifies if the interfaces has icons.
Definition: interfaz.cpp:85
Interfaz::hasIcons
bool hasIcons
hasIcons Screen icon option.
Definition: interfaz.h:162
Interfaz::setNumberOfRows
void setNumberOfRows(int value)
setNumberOfRows Raplaces the screen number of rows.
Definition: interfaz.cpp:45