10 #include <QDragEnterEvent> 11 #include <QDragLeaveEvent> 12 #include <QApplication> 20 this->tabBar()->setFixedHeight(40);
26 if (ev->pos().y() > 43)
31 const QMimeData* mimeData = ev->mimeData();
32 QStringList mimeFormats = mimeData->formats();
33 for (
const QString&
format : mimeFormats)
35 QByteArray encoded = mimeData->data(
format);
36 QDataStream stream(&encoded, QIODevice::ReadOnly);
40 while (!stream.atEnd())
44 if (!curve_name.isEmpty())
46 curves.push_back(curve_name);
55 if (ev->pos().y() > 43)
66 QApplication::restoreOverrideCursor();
73 QApplication::restoreOverrideCursor();
FMT_INLINE std::basic_string< Char > format(const S &format_str, Args &&...args)