Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
mainwindow.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4#ifndef MAINWINDOW_H
5#define MAINWINDOW_H
6
7#include <QMainWindow>
8#include <QPixmap>
9#include <QPoint>
10
11class QComboBox;
12class QLabel;
13class QLineEdit;
14class QMouseEvent;
15class QTextEdit;
16class DragWidget;
17
18class MainWindow : public QMainWindow
19{
21
22public:
23 explicit MainWindow(QWidget *parent = nullptr);
24
25public slots:
26 void setDragResult(const QString &actionText);
27 void setMimeTypes(const QStringList &types);
28
29private:
30 QComboBox *mimeTypeCombo;
31 DragWidget *dragWidget;
32};
33
34#endif
void setMimeTypes(const QStringList &types)
int main(int argc, char *argv[])
[ctor_close]