| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: If68cff4efacc7dc5719c8b8e61937e85e9076870
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FileDialog::nameFilters contains an array of name filter strings that
combine the name and extensions. For example:
- "Text files (*.txt)"
- "HTML files (*.html *.htm)"
When dealing with multiple name filters, it is quite clumsy to use
a string type of 'selectedNameFilter' which is one of the above full
file name filter string values. Make it possible to read/write the
index of the selected name filter, and provide the filter's name and
extensions separately.
Change-Id: Ie416cc4ab3dcde93c10769b6f7ac44915307f194
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
| |
This complements the File/FolderDialog offering.
Change-Id: I44a105724321092a6efc4126c8fb25f7d31b77e2
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
| |
Change-Id: Iac753e53ff838d232365c13b92e150d528daef2a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
| |
Change-Id: I107d51c9e3a874b92c627735dc88c7d296ec799f
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
|
|
|
| |
Now that we know the type and whether it should be native, it can
be all done in the base class to reduce a lot of code duplication.
Change-Id: I7d7d7057fa499df75b72914d2b505bfa0288048d
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
| |
Change-Id: Id1699a6045eb9066a80ebdbb3cb5d3a01e58a36f
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
| |
Change-Id: I42b5e403e6cb16e607d9ce0d0e9f624b150bec03
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
| |
Change-Id: I4b65c7623a34d016243e626146437d2fa20fd93b
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
| |
Change-Id: I6bccfebcbb32dcafeea0814d88f7882857a62a85
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
| |
Change-Id: I56ad5025fb873261ccd96e82e4c9fff0731ddf92
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
| |
Change-Id: I5805e03327cea6cba8083f636e061b561e87f215
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
| |
Change-Id: If31d657e29a9cc3049af5cd3cf39d68979ff2db0
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
| |
Change-Id: I60d60072f1cc6a876228e647b1d6db943e303ea2
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
|
|
| |
Follow the same convention that ColorDialog, FontDialog and FolderDialog.
Change-Id: I960d4fc1ba275ab997f2a079a799d2b90796eca3
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
| |
Change-Id: Ie963cb5c082b49205f7b7244ace3b88254ec37c7
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Available categories:
- qt.labs.platform.dialogs
- qt.labs.platform.menus
- qt.labs.platform.tray
The output shows which implementation is used. Example:
$ QT_LOGGING_RULES=qt.labs.platform.*=true ./texteditor
qt.labs.platform.menus: MenuBar: QCocoaMenuBar(0x7fe27bdf7730)
qt.labs.platform.menus: Menu: QPlatformMenu(0x7fe27bdf8450)
qt.labs.platform.menus: Menu: QPlatformMenu(0x7fe27bdfa510)
qt.labs.platform.menus: Menu: QPlatformMenu(0x7fe27e500000)
qt.labs.platform.dialogs: FileDialog: QPlatformFileDialogHelper(0x7fe27e500f30)
qt.labs.platform.dialogs: FileDialog: QPlatformFileDialogHelper(0x7fe27e501ac0)
qt.labs.platform.dialogs: ColorDialog: QPlatformColorDialogHelper(0x7fe27e502920)
qt.labs.platform.dialogs: MessageDialog: QWidgetPlatformMessageDialog(0x7fe27e523b40)
qt.labs.platform.menus: Menu: QPlatformMenu(0x7fe27bcd9c30)
Change-Id: I07fc8b13f05f365337bc171149bb848639b3fbd0
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|
|
|
|
|
|
|
|
| |
Looks like defaultSuffix is not handled by QPlatformFileDialog even if
it is passed via QFileDialogOptions. This patch makes QML FileDialog
handle the defaultSuffix the same way QFileDialog from QtWidgets does.
Change-Id: Icdb527715a6bdfc8d90b55639c4926941cbd5afd
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
Change-Id: I4328c273e48139d6ddd5a3d3c8492d06f48a5c24
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|