umbrello
2.39.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <umlfiledialog.h>
Public Member Functions | |
UMLFileDialog (const QUrl &startDir, const QString &filter, QWidget *parent, QWidget *widget=0) | |
~UMLFileDialog () | |
int | exec () |
void | setCaption (const QString &caption) |
void | setAcceptMode (QFileDialog::AcceptMode mode) |
void | setMimeTypeFilters (const QStringList &filters) |
void | selectUrl (const QUrl &url) |
void | setUrl (const QUrl &url) |
QUrl | selectedUrl () |
void | setSelection (const QString &name) |
Protected Attributes | |
QFileDialog * | m_dialog |
Wrapper class for KFileDialog supporting graphviz *.dot files.
This class is required because KFileDialog do not support mixing of mime type based filters with other filters.
Because the graphviz .dot extension do not have an official mimetype, we use a fake mime type named image/x-dot
UMLFileDialog::UMLFileDialog | ( | const QUrl & | startDir, |
const QString & | filter, | ||
QWidget * | parent, | ||
QWidget * | widget = 0 |
||
) |
UMLFileDialog::~UMLFileDialog | ( | ) |
int UMLFileDialog::exec | ( | ) |
QUrl UMLFileDialog::selectedUrl | ( | ) |
void UMLFileDialog::selectUrl | ( | const QUrl & | url | ) |
void UMLFileDialog::setAcceptMode | ( | QFileDialog::AcceptMode | mode | ) |
void UMLFileDialog::setCaption | ( | const QString & | caption | ) |
void UMLFileDialog::setMimeTypeFilters | ( | const QStringList & | filters | ) |
void UMLFileDialog::setSelection | ( | const QString & | name | ) |
void UMLFileDialog::setUrl | ( | const QUrl & | url | ) |
|
protected |