00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "meter.h"
00011
00012 Meter::Meter( int ix , int iy, int iw, int ih)
00013 {
00014 x = ix;
00015 y = iy;
00016 width = iw;
00017 height = ih;
00018 }
00019 Meter::Meter()
00020 {
00021 }
00022
00023 Meter::~Meter()
00024 {
00025 }
00026
00027 void Meter::setSize(int ix, int iy, int iw, int ih)
00028 {
00029 x = ix;
00030 y = iy;
00031 width = iw;
00032 height = ih;
00033
00034 }
00035
00036
00037 void Meter::setThemePath( QString path )
00038 {
00039 themePath = path;
00040 }
00041
00042 int Meter::getX()
00043 {
00044 return x;
00045 }
00046 int Meter::getY()
00047 {
00048 return y;
00049 }
00050 int Meter::getWidth()
00051 {
00052 return width;
00053 }
00054 int Meter::getHeight()
00055 {
00056 return height;
00057 }
00058