umbrello 26.07.70-c53146a Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

umlfiledialog.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef UMLFILEDIALOG_H
7#define UMLFILEDIALOG_H
8
9#include <QtGlobal>
10
11#include <QFileDialog>
12
22 class UMLFileDialog : public QObject
23{
24 Q_OBJECT
25 public:
26 UMLFileDialog(const QUrl &startDir, const QString &filter, QWidget *parent, QWidget *widget= nullptr);
27 ~UMLFileDialog();
28
29 int exec();
30 void setCaption(const QString &caption);
31 void setAcceptMode(QFileDialog::AcceptMode mode);
32 void setMimeTypeFilters(const QStringList &filters);
33
34 void selectUrl(const QUrl &url);
35 void setUrl(const QUrl &url);
36 QUrl selectedUrl();
37 void setSelection(const QString &name);
38
39 protected:
40 QFileDialog *m_dialog;
41};
42
43#endif
UMLFileDialog
Definition: umlfiledialog.h:23
UMLFileDialog::setAcceptMode
void setAcceptMode(QFileDialog::AcceptMode mode)
Definition: umlfiledialog.cpp:34
UMLFileDialog::m_dialog
QFileDialog * m_dialog
Definition: umlfiledialog.h:40
UMLFileDialog::setUrl
void setUrl(const QUrl &url)
Definition: umlfiledialog.cpp:49
UMLFileDialog::selectUrl
void selectUrl(const QUrl &url)
Definition: umlfiledialog.cpp:44
UMLFileDialog::setMimeTypeFilters
void setMimeTypeFilters(const QStringList &filters)
Definition: umlfiledialog.cpp:39
UMLFileDialog::selectedUrl
QUrl selectedUrl()
Definition: umlfiledialog.cpp:54
UMLFileDialog::setSelection
void setSelection(const QString &name)
Definition: umlfiledialog.cpp:63
UMLFileDialog::~UMLFileDialog
~UMLFileDialog()
Definition: umlfiledialog.cpp:19
UMLFileDialog::setCaption
void setCaption(const QString &caption)
Definition: umlfiledialog.cpp:29
UMLFileDialog::exec
int exec()
Definition: umlfiledialog.cpp:24