QHeaderView is unecessarily heavy to include everywhere

This commit is contained in:
Pavel Sanda 2024-10-24 19:53:01 +02:00
parent b2d157a4da
commit 6e832efbde
8 changed files with 10 additions and 1 deletions

View File

@ -24,6 +24,7 @@
#include <QLabel> #include <QLabel>
#include <QList> #include <QList>
#include <QTabWidget> #include <QTabWidget>
#include <QTabBar>
#include <QValidator> #include <QValidator>

View File

@ -26,6 +26,7 @@
#include <QClipboard> #include <QClipboard>
#include <QDate> #include <QDate>
#include <QFile> #include <QFile>
#include <QRegularExpression>
#include <QTextStream> #include <QTextStream>
using namespace lyx::support; using namespace lyx::support;

View File

@ -113,6 +113,7 @@
#include <QSocketNotifier> #include <QSocketNotifier>
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include <QStandardItemModel> #include <QStandardItemModel>
#include <QStyle>
#include <QSvgRenderer> #include <QSvgRenderer>
#include <QTimer> #include <QTimer>
#include <QTranslator> #include <QTranslator>

View File

@ -22,6 +22,7 @@
#include <QCloseEvent> #include <QCloseEvent>
#include <QDialogButtonBox> #include <QDialogButtonBox>
#include <QColorDialog> #include <QColorDialog>
#include <QRegularExpression>
using namespace std; using namespace std;

View File

@ -28,6 +28,7 @@
#include "support/pmprof.h" #include "support/pmprof.h"
#include <QByteArray> #include <QByteArray>
#include <QFontInfo>
#include <QRawFont> #include <QRawFont>
#include <QtEndian> #include <QtEndian>

View File

@ -13,6 +13,8 @@
#include "LaTeXHighlighter.h" #include "LaTeXHighlighter.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include <QPalette>
#include <QRegularExpression>
#include <QString> #include <QString>
#include <QTextDocument> #include <QTextDocument>

View File

@ -34,6 +34,7 @@
#include <QComboBox> #include <QComboBox>
#include <QDesktopServices> #include <QDesktopServices>
#include <QDir> #include <QDir>
#include <QHeaderView>
#include <QInputDialog> #include <QInputDialog>
#include <QLineEdit> #include <QLineEdit>
#include <QMessageBox> #include <QMessageBox>

View File

@ -21,12 +21,13 @@
#include <list> #include <list>
#include <QHeaderView> #include <QString>
class QComboBox; class QComboBox;
class QLineEdit; class QLineEdit;
class QString; class QString;
class QWidget; class QWidget;
class QAbstractItemView;
namespace lyx { namespace lyx {