##// END OF EJS Templates
Bugfix: axis visibily issues...
Bugfix: axis visibily issues * adds missing isTitleVisible * fixes axis->setVisible * invalidate layout when visibilty changed

File last commit:

r2254:3e008d6a7c89
r2297:bf59b22cf3e9
Show More
graphicsbutton.h
28 lines | 543 B | text/x-c | CLexer
Marek Rosa
Quick demolauncher fix
r2252 #ifndef GRAPHICSBUTTON_H
#define GRAPHICSBUTTON_H
#include <QWidget>
#include <QDir>
Marek Rosa
Cleaned up demoLauncher
r2254 class QProcess;
Marek Rosa
Quick demolauncher fix
r2252 class GraphicsButton : public QWidget
{
Q_OBJECT
public:
explicit GraphicsButton(const QString& path, QDir appFolder, const QString& app, QWidget *parent = 0);
Marek Rosa
Cleaned up demoLauncher
r2254 ~GraphicsButton();
Marek Rosa
Quick demolauncher fix
r2252
protected:
void mousePressEvent(QMouseEvent * event);
void paintEvent(QPaintEvent *);
private:
QPixmap m_pixmap;
QString m_path;
QDir m_appFolder;
QString m_app;
Marek Rosa
Cleaned up demoLauncher
r2254 QProcess *m_demoApp;
Marek Rosa
Quick demolauncher fix
r2252 };
#endif // GRAPHICSBUTTON_H