Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/widget/wlabel.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           wlabel.h  -  description
00003                              -------------------
00004     begin                : Wed Jan 5 2005
00005     copyright            : (C) 2003 by Tue Haste Andersen
00006     email                : haste@diku.dk
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef WLABEL_H
00019 #define WLABEL_H
00020 
00021 #include "wwidget.h"
00022 #include <qlabel.h>
00023 #include <qevent.h>
00024 
00029 class WLabel : public WWidget
00030 {
00031     Q_OBJECT
00032 public:
00033     WLabel(QWidget *parent=0);
00034     virtual ~WLabel();
00035     void setup(QDomNode node);
00036 
00037     void setAlignment(Qt::Alignment);
00038     void setConstFactor(double);
00039 
00040 protected:
00042     QLabel *m_pLabel;
00043     QString m_qsText;
00045     QColor m_qFgColor, m_qBgColor;
00046 };
00047 
00048 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines