F1-F4 key indicator dynamical displayed on buttons now.

This commit is contained in:
doitux
2009-03-27 00:33:26 +00:00
parent b096149678
commit dd16cdee48
9 changed files with 202 additions and 40 deletions
+33
View File
@@ -0,0 +1,33 @@
//
// C++ Interface: mycardspixmaplabel
//
// Description:
//
//
// Author: FThauer FHammer <f.thauer@web.de>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef MYACTIONBUTTON_H
#define MYACTIONBUTTON_H
#include <QtGui>
#include <QtCore>
class MyActionButton : public QPushButton
{
public:
MyActionButton(QGroupBox*);
~MyActionButton();
void paintEvent(QPaintEvent * event);
void setFKeyText ( const QString& theValue ){fKeyText = theValue;}
private:
QString fKeyText;
};
#endif