mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-26 02:21:43 +08:00
Support Qt in namespace
This commit is contained in:
parent
29e970ed6f
commit
2e85504d89
@ -8,10 +8,11 @@
|
|||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QTreeWidget>
|
#include <QTreeWidget>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class TestForm;
|
class TestForm;
|
||||||
}
|
}
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
class TestForm : public QWidget
|
class TestForm : public QWidget
|
||||||
{
|
{
|
||||||
|
@ -4,9 +4,11 @@
|
|||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class MandelbrotMainWindow;
|
class MandelbrotMainWindow;
|
||||||
}
|
}
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
class MandelbrotMainWindow : public QMainWindow
|
class MandelbrotMainWindow : public QMainWindow
|
||||||
{
|
{
|
||||||
|
@ -5,9 +5,11 @@
|
|||||||
#include "jkqtplotter/jkqtplotter.h"
|
#include "jkqtplotter/jkqtplotter.h"
|
||||||
#include <QGridLayout>
|
#include <QGridLayout>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class TestMultiplotUI;
|
class TestMultiplotUI;
|
||||||
}
|
}
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
class TestMultiplotUI : public QDialog
|
class TestMultiplotUI : public QDialog
|
||||||
{
|
{
|
||||||
|
@ -4,9 +4,11 @@
|
|||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include "jkqtplotter/jkqtplotter.h"
|
#include "jkqtplotter/jkqtplotter.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class TestStyling;
|
class TestStyling;
|
||||||
}
|
}
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
class TestStyling : public QMainWindow
|
class TestStyling : public QMainWindow
|
||||||
{
|
{
|
||||||
|
@ -4,9 +4,11 @@
|
|||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class FormWithJKQTPlotter;
|
class FormWithJKQTPlotter;
|
||||||
}
|
}
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
class FormWithJKQTPlotter : public QWidget
|
class FormWithJKQTPlotter : public QWidget
|
||||||
{
|
{
|
||||||
|
@ -1721,6 +1721,8 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPlotter: public QWidget {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
/** \brief qHash-variant used by JKQTPlotter
|
/** \brief qHash-variant used by JKQTPlotter
|
||||||
* \internal
|
* \internal
|
||||||
* \ingroup jkqtpplottersupprt
|
* \ingroup jkqtpplottersupprt
|
||||||
@ -1748,4 +1750,6 @@ inline uint qHash(const Qt::KeyboardModifiers &key, uint /*seed*/ ) noexcept(noe
|
|||||||
return static_cast<uint>(key);
|
return static_cast<uint>(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // JKQTPLOTTER_H
|
#endif // JKQTPLOTTER_H
|
||||||
|
Loading…
Reference in New Issue
Block a user