2010-03-19 18:29:28 +01:00
|
|
|
/*
|
|
|
|
* 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);
|
2010-03-21 17:53:08 +01:00
|
|
|
this->
|
|
|
|
setText(tr("Choose a gadget to display in this view.\n") +
|
|
|
|
tr("You can also split this view in two.\n\n") +
|
2010-03-21 18:30:26 +01:00
|
|
|
tr("Maybe you first have to choose Show Toolbars in the Window menu."));
|
2010-03-19 18:29:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
EmptyGadgetWidget::~EmptyGadgetWidget()
|
|
|
|
{
|
|
|
|
// Do nothing
|
|
|
|
}
|
|
|
|
|