mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-30 07:46:51 +08:00
63 lines
991 B
C
63 lines
991 B
C
|
// Copyright (C) 2016 The Qt Company Ltd.
|
||
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||
|
|
||
|
#ifndef TABDIALOG_H
|
||
|
#define TABDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
class QDialogButtonBox;
|
||
|
class QFileInfo;
|
||
|
class QTabWidget;
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
//! [0]
|
||
|
class GeneralTab : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit GeneralTab(const QFileInfo &fileInfo, QWidget *parent = nullptr);
|
||
|
};
|
||
|
//! [0]
|
||
|
|
||
|
|
||
|
//! [1]
|
||
|
class PermissionsTab : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit PermissionsTab(const QFileInfo &fileInfo, QWidget *parent = nullptr);
|
||
|
};
|
||
|
//! [1]
|
||
|
|
||
|
|
||
|
//! [2]
|
||
|
class ApplicationsTab : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit ApplicationsTab(const QFileInfo &fileInfo, QWidget *parent = nullptr);
|
||
|
};
|
||
|
//! [2]
|
||
|
|
||
|
|
||
|
//! [3]
|
||
|
class TabDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit TabDialog(const QString &fileName, QWidget *parent = nullptr);
|
||
|
|
||
|
private:
|
||
|
QTabWidget *tabWidget;
|
||
|
QDialogButtonBox *buttonBox;
|
||
|
};
|
||
|
//! [3]
|
||
|
|
||
|
#endif
|