Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <dialoggui_p.h>
Public Member Functions | |
DialogGui () | |
~DialogGui () override | |
QMessageBox::StandardButton | message (QWidget *parent, Message context, QMessageBox::Icon icon, const QString &title, const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::Ok, QMessageBox::StandardButton defaultButton=QMessageBox::NoButton) override |
Opens a message box as child of parent within the context context, using icon, title, text, buttons and defaultButton and returns the button chosen by the user. | |
QMessageBox::StandardButton | message (QWidget *parent, Message context, QMessageBox::Icon icon, const QString &title, const QString &text, const QString &informativeText, QMessageBox::StandardButtons buttons=QMessageBox::Ok, QMessageBox::StandardButton defaultButton=QMessageBox::NoButton) override |
QMessageBox::StandardButton | message (QWidget *parent, Message context, QMessageBox::Icon icon, const QString &title, const QString &text, const QString &informativeText, const QString &detailedText, QMessageBox::StandardButtons buttons=QMessageBox::Ok, QMessageBox::StandardButton defaultButton=QMessageBox::NoButton) override |
QString | getExistingDirectory (QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), QFileDialog::Options options=QFileDialog::ShowDirsOnly) override |
Opens a file dialog as child of parent using the parameters caption, dir and options that prompts the user for an existing directory. | |
QString | getOpenFileName (QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=nullptr, QFileDialog::Options options={}) override |
Opens a file dialog as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for an existing file. | |
QStringList | getOpenFileNames (QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=nullptr, QFileDialog::Options options={}) override |
Opens a file dialog as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for a set of existing files. | |
QString | getSaveFileName (QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=nullptr, QFileDialog::Options options={}) override |
Opens a file dialog as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for a file. | |
QString | getOpenImageFileName (QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=nullptr, QFileDialog::Options options={}) override |
Opens a file dialog with image browsing capabilities as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for an existing file. | |
QStringList | getOpenImageFileNames (QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=nullptr, QFileDialog::Options options={}) override |
Opens a file dialog with image browsing capabilities as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for a set of existing files. | |
Public Member Functions inherited from QDesignerDialogGuiInterface | |
QDesignerDialogGuiInterface () | |
Constructs a QDesignerDialogGuiInterface object. | |
virtual | ~QDesignerDialogGuiInterface () |
Destroys the QDesignerDialogGuiInterface object. | |
Additional Inherited Members | |
Public Types inherited from QDesignerDialogGuiInterface | |
enum | Message { FormLoadFailureMessage , UiVersionMismatchMessage , ResourceLoadFailureMessage , TopLevelSpacerMessage , PropertyEditorMessage , SignalSlotEditorMessage , FormEditorMessage , PreviewFailureMessage , PromotionErrorMessage , ResourceEditorMessage , ScriptDialogMessage , SignalSlotDialogMessage , OtherMessage , FileChangedMessage } |
This enum specifies the context from within the message box is called. More... | |
Definition at line 27 of file dialoggui_p.h.
|
default |
|
override |
Definition at line 91 of file dialoggui.cpp.
|
overridevirtual |
Opens a file dialog as child of parent using the parameters caption, dir and options that prompts the user for an existing directory.
Returns a directory selected by the user.
Implements QDesignerDialogGuiInterface.
Definition at line 151 of file dialoggui.cpp.
|
overridevirtual |
Opens a file dialog as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for an existing file.
Returns a file selected by the user.
Implements QDesignerDialogGuiInterface.
Definition at line 156 of file dialoggui.cpp.
|
overridevirtual |
Opens a file dialog as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for a set of existing files.
Returns one or more existing files selected by the user.
Implements QDesignerDialogGuiInterface.
Definition at line 161 of file dialoggui.cpp.
|
overridevirtual |
Opens a file dialog with image browsing capabilities as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for an existing file.
Returns a file selected by the user.
The default implementation simply calls getOpenFileName(). On platforms that do not support an image preview in the QFileDialog, the function can be reimplemented to provide an image browser.
Reimplemented from QDesignerDialogGuiInterface.
Definition at line 179 of file dialoggui.cpp.
|
overridevirtual |
Opens a file dialog with image browsing capabilities as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for a set of existing files.
Returns one or more existing files selected by the user.
The default implementation simply calls getOpenFileNames(). On platforms that do not support an image preview in the QFileDialog, the function can be reimplemented to provide an image browser.
Reimplemented from QDesignerDialogGuiInterface.
Definition at line 201 of file dialoggui.cpp.
|
overridevirtual |
Opens a file dialog as child of parent using the parameters caption, dir, filter, selectedFilter and options that prompts the user for a file.
Returns a file selected by the user. The file does not have to exist.
Implements QDesignerDialogGuiInterface.
Definition at line 166 of file dialoggui.cpp.
|
overridevirtual |
Implements QDesignerDialogGuiInterface.
Definition at line 140 of file dialoggui.cpp.
Referenced by PRESUBMIT_test_mocks.MockOutputApi.PresubmitResult::__repr__().
|
overridevirtual |
Implements QDesignerDialogGuiInterface.
Definition at line 129 of file dialoggui.cpp.
Referenced by PRESUBMIT_test_mocks.MockOutputApi.PresubmitResult::__repr__().
|
overridevirtual |
Opens a message box as child of parent within the context context, using icon, title, text, buttons and defaultButton and returns the button chosen by the user.
Implements QDesignerDialogGuiInterface.
Definition at line 104 of file dialoggui.cpp.
Referenced by PRESUBMIT_test_mocks.MockOutputApi.PresubmitResult::__repr__().