Clean up some includes

This commit is contained in:
2016-04-30 04:47:13 +01:00
parent 3dd3e458b9
commit 5b2d7d69b1
5 changed files with 44 additions and 21 deletions
+10 -2
View File
@@ -22,10 +22,19 @@
* \brief Dialog box to set the sequence resolution
*/
#include "ConfigureFormatDialog.h"
#include <QComboBox>
#include <QDialogButtonBox>
#include <QFileInfo>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QSpinBox>
#include <QWidget>
#include "lib/PlaYUVerFrame.h"
#include "lib/PlaYUVerStream.h"
#include "ConfigureFormatDialog.h"
ConfigureFormatDialog::ConfigureFormatDialog( QWidget *parent ) :
QDialog( parent )
@@ -225,7 +234,6 @@ ConfigureFormatDialog::ConfigureFormatDialog( QWidget *parent ) :
framerateWidget->setContentsMargins( 0,0,0,0 );
framerateWidget->setLayout( framerateFormatLayout );
/*
* Confirmation buttons
*/
+9 -10
View File
@@ -25,18 +25,17 @@
#ifndef __CONFIGUREFORMATDIALOG_H__
#define __CONFIGUREFORMATDIALOG_H__
#include "config.h"
#include <QDialog>
#include <QVector>
#include <QString>
#include "PlaYUVerAppDefs.h"
#if( QT_VERSION_PLAYUVER == 5 )
#include <QtWidgets>
#elif( QT_VERSION_PLAYUVER == 4 )
#include <QtGui>
#endif
#include <QtCore>
class QPixmap;
class QColor;
class QComboBox;
class QHBoxLayout;
class QLabel;
class QSpinBox;
class QWidget;
/**
*
+12
View File
@@ -22,7 +22,19 @@
* \brief Handle multiple sub-windows
*/
#include <QAction>
#include <QActionGroup>
#include <QApplication>
#include <QDesktopWidget>
#include <QHBoxLayout>
#include <QMdiArea>
#include <QMenu>
#include <QPainter>
#include <QSignalMapper>
#include <QStyle>
#include "PlaYUVerSubWindowHandle.h"
#include "PlaYUVerApp.h"
#include "PlaYUVerMdiSubWindow.h"
#include "SubWindowAbstract.h"
+10 -7
View File
@@ -25,14 +25,17 @@
#ifndef __PLAYUVERSUBWINDOWHANDLE_H__
#define __PLAYUVERSUBWINDOWHANDLE_H__
#include "config.h"
#include "PlaYUVerAppDefs.h"
#if( QT_VERSION_PLAYUVER == 5 )
#include <QtWidgets>
#elif( QT_VERSION_PLAYUVER == 4 )
#include <QtGui>
#endif
#include <QVector>
#include <QWidget>
#include <QString>
#include "PlaYUVerAppDefs.h"
class QAction;
class QActionGroup;
class QHBoxLayout;
class QMenu;
class QSignalMapper;
class PlaYUVerApp;
class SubWindowAbstract;
+3 -2
View File
@@ -63,14 +63,15 @@ private:
PlaYUVerMdiSubWindow* m_cSubWindow;
public:
enum SubWindowCategories
enum SubWindowCategory
{
SUBWINDOW = 0,
VIDEO_SUBWINDOW = 1,
VIDEO_STREAM_SUBWINDOW = 2,
MODULE_SUBWINDOW = 4,
PLOT_SUBWINDOW = 8,
};
}; Q_DECLARE_FLAGS( SubWindowCategories, SubWindowCategory )
SubWindowAbstract( QWidget *, UInt );
~SubWindowAbstract();