mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-08 19:46:06 +01:00
29 lines
554 B
C++
29 lines
554 B
C++
|
/*
|
||
|
* emptygadgetwidget.cpp
|
||
|
*
|
||
|
* Created on: Mar 6, 2010
|
||
|
* Author: peter
|
||
|
*/
|
||
|
#include "emptygadgetwidget.h"
|
||
|
|
||
|
#include <QDebug>
|
||
|
#include <QStringList>
|
||
|
#include <QtGui/QWidget>
|
||
|
#include <QtGui/QTextEdit>
|
||
|
#include <QtGui/QVBoxLayout>
|
||
|
#include <QtGui/QPushButton>
|
||
|
|
||
|
EmptyGadgetWidget::EmptyGadgetWidget(QWidget *parent) : QLabel(parent)
|
||
|
{
|
||
|
setMinimumSize(64,64);
|
||
|
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
|
||
|
setText(QString("Empty gadget"));
|
||
|
|
||
|
}
|
||
|
|
||
|
EmptyGadgetWidget::~EmptyGadgetWidget()
|
||
|
{
|
||
|
// Do nothing
|
||
|
}
|
||
|
|