include fixes
Fixed the include statements added QT+=widgets in examples/network to get them to compile. Will need something better than doing it manually.
This commit is contained in:
parent
9474f82f8a
commit
e510b6e466
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include <QtCore/qstate.h>
|
#include <QtCore/qstate.h>
|
||||||
|
|
||||||
class Pixmap : public QObject, public QGraphicsPixmapItem
|
class Pixmap : public QObject, public QGraphicsPixmapItem
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
|
|
||||||
class Pixmap : public QGraphicsWidget
|
class Pixmap : public QGraphicsWidget
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#ifndef ANIMATION_H
|
#ifndef ANIMATION_H
|
||||||
#define ANIMATION_H
|
#define ANIMATION_H
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include <QtCore/qpropertyanimation.h>
|
#include <QtCore/qpropertyanimation.h>
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "ui_form.h"
|
#include "ui_form.h"
|
||||||
#include "animation.h"
|
#include "animation.h"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
//![15]
|
//![15]
|
||||||
class StateSwitchEvent: public QEvent
|
class StateSwitchEvent: public QEvent
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
class Pixmap : public QGraphicsObject
|
class Pixmap : public QGraphicsObject
|
||||||
{
|
{
|
||||||
|
@ -42,8 +42,8 @@
|
|||||||
#include "stickman.h"
|
#include "stickman.h"
|
||||||
|
|
||||||
#include <QtGui/QKeyEvent>
|
#include <QtGui/QKeyEvent>
|
||||||
#include <QtGui/QGraphicsScene>
|
#include <QtWidgets/QGraphicsScene>
|
||||||
#include <QtGui/QGraphicsView>
|
#include <QtWidgets/QGraphicsView>
|
||||||
|
|
||||||
GraphicsView::GraphicsView(QWidget *parent) : QGraphicsView(parent), m_editor(0) {}
|
GraphicsView::GraphicsView(QWidget *parent) : QGraphicsView(parent), m_editor(0) {}
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#ifndef GRAPHICSVIEW_H
|
#ifndef GRAPHICSVIEW_H
|
||||||
#define GRAPHICSVIEW
|
#define GRAPHICSVIEW
|
||||||
|
|
||||||
#include <QtGui/QGraphicsView>
|
#include <QtWidgets/QGraphicsView>
|
||||||
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
class GraphicsView: public QGraphicsView
|
class GraphicsView: public QGraphicsView
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
#include "graphicsview.h"
|
#include "graphicsview.h"
|
||||||
|
|
||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
class KeyPressTransition: public QSignalTransition
|
class KeyPressTransition: public QSignalTransition
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
#include "graphicsview.h"
|
#include "graphicsview.h"
|
||||||
|
|
||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
@ -39,8 +39,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "chat.h"
|
#include "chat.h"
|
||||||
#include <QtGui/QApplication>
|
#include <QtWidgets/QApplication>
|
||||||
#include <QtGui/QMessageBox>
|
#include <QtWidgets/QMessageBox>
|
||||||
|
|
||||||
#include "chat_adaptor.h"
|
#include "chat_adaptor.h"
|
||||||
#include "chat_interface.h"
|
#include "chat_interface.h"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "car.h"
|
#include "car.h"
|
||||||
#include <QtGui/QtGui>
|
#include <QtWidgets/QtWidgets>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
static const double Pi = 3.14159265358979323846264338327950288419717;
|
static const double Pi = 3.14159265358979323846264338327950288419717;
|
||||||
|
@ -40,9 +40,9 @@
|
|||||||
|
|
||||||
#include "car.h"
|
#include "car.h"
|
||||||
#include "car_adaptor.h"
|
#include "car_adaptor.h"
|
||||||
#include <QtGui/QApplication>
|
#include <QtWidgets/QApplication>
|
||||||
#include <QtGui/QGraphicsView>
|
#include <QtWidgets/QGraphicsView>
|
||||||
#include <QtGui/QGraphicsScene>
|
#include <QtWidgets/QGraphicsScene>
|
||||||
#include <QtDBus/QDBusConnection>
|
#include <QtDBus/QDBusConnection>
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
#include "car_interface.h"
|
#include "car_interface.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include <QtDBus>
|
#include <QtDBus>
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "screenshot.h"
|
#include "screenshot.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "classwizard.h"
|
#include "classwizard.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "configdialog.h"
|
#include "configdialog.h"
|
||||||
#include "pages.h"
|
#include "pages.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "pages.h"
|
#include "pages.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "finddialog.h"
|
#include "finddialog.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "licensewizard.h"
|
#include "licensewizard.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "dialog.h"
|
#include "dialog.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "dialog.h"
|
#include "dialog.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "dialog.h"
|
#include "dialog.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "tabdialog.h"
|
#include "tabdialog.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include <QTranslator>
|
#include <QTranslator>
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
#include <QLibraryInfo>
|
#include <QLibraryInfo>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "dragwidget.h"
|
#include "dragwidget.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "draglabel.h"
|
#include "draglabel.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "draglabel.h"
|
#include "draglabel.h"
|
||||||
#include "dragwidget.h"
|
#include "dragwidget.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "droparea.h"
|
#include "droparea.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "droparea.h"
|
#include "droparea.h"
|
||||||
#include "dropsitewindow.h"
|
#include "dropsitewindow.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "draglabel.h"
|
#include "draglabel.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "draglabel.h"
|
#include "draglabel.h"
|
||||||
#include "dragwidget.h"
|
#include "dragwidget.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "pieceslist.h"
|
#include "pieceslist.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "puzzlewidget.h"
|
#include "puzzlewidget.h"
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "blurpicker.h"
|
#include "blurpicker.h"
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "blureffect.h"
|
#include "blureffect.h"
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "fademessage.h"
|
#include "fademessage.h"
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
FadeMessage::FadeMessage(QWidget *parent): QGraphicsView(parent)
|
FadeMessage::FadeMessage(QWidget *parent): QGraphicsView(parent)
|
||||||
{
|
{
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "lighting.h"
|
#include "lighting.h"
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
#define M_PI 3.14159265358979323846
|
#define M_PI 3.14159265358979323846
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
Qt += widgets
|
||||||
|
|
||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
network \
|
network \
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
#include "imagewidget.h"
|
#include "imagewidget.h"
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
//! [constructor]
|
//! [constructor]
|
||||||
ImageWidget::ImageWidget(QWidget *parent)
|
ImageWidget::ImageWidget(QWidget *parent)
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QGestureEvent;
|
class QGestureEvent;
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "mainwidget.h"
|
#include "mainwidget.h"
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include <QGraphicsWidget>
|
#include <QGraphicsWidget>
|
||||||
#include <QGraphicsProxyWidget>
|
#include <QGraphicsProxyWidget>
|
||||||
#include <QGraphicsAnchorLayout>
|
#include <QGraphicsAnchorLayout>
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
static QGraphicsProxyWidget *createItem(const QSizeF &minimum = QSizeF(100.0, 100.0),
|
static QGraphicsProxyWidget *createItem(const QSizeF &minimum = QSizeF(100.0, 100.0),
|
||||||
const QSizeF &preferred = QSize(150.0, 100.0),
|
const QSizeF &preferred = QSize(150.0, 100.0),
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#ifndef LAYOUTITEM_H
|
#ifndef LAYOUTITEM_H
|
||||||
#define LAYOUTITEM_H
|
#define LAYOUTITEM_H
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
class LayoutItem : public QGraphicsLayoutItem, public QGraphicsItem
|
class LayoutItem : public QGraphicsLayoutItem, public QGraphicsItem
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#ifndef WINDOW_H
|
#ifndef WINDOW_H
|
||||||
#define WINDOW_H
|
#define WINDOW_H
|
||||||
|
|
||||||
#include <QtGui/QGraphicsWidget>
|
#include <QtWidgets/QGraphicsWidget>
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
class Window : public QGraphicsWidget {
|
class Window : public QGraphicsWidget {
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "mouse.h"
|
#include "mouse.h"
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "arrow.h"
|
#include "arrow.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "diagramitem.h"
|
#include "diagramitem.h"
|
||||||
#include "arrow.h"
|
#include "arrow.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "diagramscene.h"
|
#include "diagramscene.h"
|
||||||
#include "arrow.h"
|
#include "arrow.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "diagramtextitem.h"
|
#include "diagramtextitem.h"
|
||||||
#include "diagramscene.h"
|
#include "diagramscene.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "coloritem.h"
|
#include "coloritem.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "coloritem.h"
|
#include "coloritem.h"
|
||||||
#include "robot.h"
|
#include "robot.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "robot.h"
|
#include "robot.h"
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#include "edge.h"
|
#include "edge.h"
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#ifndef GRAPHWIDGET_H
|
#ifndef GRAPHWIDGET_H
|
||||||
#define GRAPHWIDGET_H
|
#define GRAPHWIDGET_H
|
||||||
|
|
||||||
#include <QtGui/QGraphicsView>
|
#include <QtWidgets/QGraphicsView>
|
||||||
|
|
||||||
class Node;
|
class Node;
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "graphwidget.h"
|
#include "graphwidget.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "flowlayout.h"
|
#include "flowlayout.h"
|
||||||
#include <QtGui/qwidget.h>
|
#include <QtWidgets/qwidget.h>
|
||||||
#include <QtCore/qmath.h>
|
#include <QtCore/qmath.h>
|
||||||
|
|
||||||
FlowLayout::FlowLayout()
|
FlowLayout::FlowLayout()
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui/qgraphicslayout.h>
|
#include <QtWidgets/qgraphicslayout.h>
|
||||||
|
|
||||||
class FlowLayout : public QGraphicsLayout
|
class FlowLayout : public QGraphicsLayout
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui/qgraphicsproxywidget.h>
|
#include <QtWidgets/qgraphicsproxywidget.h>
|
||||||
#include <QtGui/qlabel.h>
|
#include <QtWidgets/qlabel.h>
|
||||||
#include "flowlayout.h"
|
#include "flowlayout.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui/qgraphicswidget.h>
|
#include <QtWidgets/qgraphicswidget.h>
|
||||||
|
|
||||||
class Window : public QGraphicsWidget {
|
class Window : public QGraphicsWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "flippablepad.h"
|
#include "flippablepad.h"
|
||||||
|
|
||||||
#include <QtGui/QtGui>
|
#include <QtWidgets/QtWidgets>
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
static QRectF boundsFromSize(const QSize &size)
|
static QRectF boundsFromSize(const QSize &size)
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "padnavigator.h"
|
#include "padnavigator.h"
|
||||||
|
|
||||||
#include <QtGui/QtGui>
|
#include <QtWidgets/QtWidgets>
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#include "padnavigator.h"
|
#include "padnavigator.h"
|
||||||
#include "splashitem.h"
|
#include "splashitem.h"
|
||||||
|
|
||||||
#include <QtGui/QtGui>
|
#include <QtWidgets/QtWidgets>
|
||||||
#ifndef QT_NO_OPENGL
|
#ifndef QT_NO_OPENGL
|
||||||
#include <QtOpenGL/QtOpenGL>
|
#include <QtOpenGL/QtOpenGL>
|
||||||
#endif
|
#endif
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "roundrectitem.h"
|
#include "roundrectitem.h"
|
||||||
|
|
||||||
#include <QtGui/QtGui>
|
#include <QtWidgets/QtWidgets>
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
RoundRectItem::RoundRectItem(const QRectF &bounds, const QColor &color,
|
RoundRectItem::RoundRectItem(const QRectF &bounds, const QColor &color,
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "splashitem.h"
|
#include "splashitem.h"
|
||||||
|
|
||||||
#include <QtGui/QtGui>
|
#include <QtWidgets/QtWidgets>
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
SplashItem::SplashItem(QGraphicsItem *parent)
|
SplashItem::SplashItem(QGraphicsItem *parent)
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
class Widget : public QGraphicsWidget
|
class Widget : public QGraphicsWidget
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include <QtNetwork>
|
#include <QtNetwork>
|
||||||
|
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include <QtNetwork>
|
#include <QtNetwork>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "adddialog.h"
|
#include "adddialog.h"
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "addresswidget.h"
|
#include "addresswidget.h"
|
||||||
#include "adddialog.h"
|
#include "adddialog.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#ifndef MAINWINDOW_H
|
#ifndef MAINWINDOW_H
|
||||||
#define MAINWINDOW_H
|
#define MAINWINDOW_H
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "addresswidget.h"
|
#include "addresswidget.h"
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "newaddresstab.h"
|
#include "newaddresstab.h"
|
||||||
#include "adddialog.h"
|
#include "adddialog.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "pieview.h"
|
#include "pieview.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
#define M_PI 3.1415927
|
#define M_PI 3.1415927
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "colorlisteditor.h"
|
#include "colorlisteditor.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "colorlisteditor.h"
|
#include "colorlisteditor.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
//! [Set up widgets]
|
//! [Set up widgets]
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "mysortfilterproxymodel.h"
|
#include "mysortfilterproxymodel.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "mysortfilterproxymodel.h"
|
#include "mysortfilterproxymodel.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "treemodel.h"
|
#include "treemodel.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "treeitem.h"
|
#include "treeitem.h"
|
||||||
#include "treemodel.h"
|
#include "treemodel.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
#include "filelistmodel.h"
|
#include "filelistmodel.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "freezetablewidget.h"
|
#include "freezetablewidget.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "imagemodel.h"
|
#include "imagemodel.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#include "imagemodel.h"
|
#include "imagemodel.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user