Developer documentation | Axl-2.5.1

axlViewDefault.cpp
Go to the documentation of this file.
1 #include "axlViewDefault.h"
3 #include "axlAbstractActor.h"
4 #include "axlViewController.h"
5 
6 #include <QtWidgets>
7 
8 class axlViewDefaultPrivate
9 {
10 public:
11  QLabel *label;
12 };
13 
14 axlViewDefault::axlViewDefault(void) : axlAbstractView(), d(new axlViewDefaultPrivate)
15 {
16  d->label = new QLabel("No view implementation available");
17  d->label->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
18 }
19 
21 {
22  delete d;
23 
24  d = NULL;
25 }
26 
27 QWidget *axlViewDefault::widget(void)
28 {
29  return d->label;
30 }
QWidget * widget(void)