* Added QWheelEvent * removed x y * Added QNativeGestureEvent * Changed wrong type of QNativeGestureEventWrap value * Added QTabletEvent * Fixing build error for QTabletEvent * adding dropaction * fix typos * Added more functions to QPainterPath * Added more functions to QPainterPath * Fixed multiple typos * Fixed multiple typos * Got QPainterPath additions working. * Modified QPainterPath to use qreal instead * Added QPointF, added a few missing methods to QPoint * Added QRectF * implemented QRectF * Added acceptDrops and setAcceptDrops to QWidget, will be useful for addon implementation of Drag and Drop * Added more methods to QUrl * Added QMimeData, additional methods to QUrl, and Dropping should now be supported * refactored * Fixed more merge conflicts * Is this my final merge conflict?? * All merge conflicts resolved * All merge conflicts resolved * Adds guide for drag and drop * lint fix Co-authored-by: Switt Kongdachalert <switt1995@yahoo.com> Co-authored-by: Atul R <atulanand94@gmail.com>
29 lines
853 B
Markdown
29 lines
853 B
Markdown
---
|
|
id: "userinputresolutionoption"
|
|
title: "UserInputResolutionOption"
|
|
sidebar_label: "UserInputResolutionOption"
|
|
---
|
|
|
|
## Index
|
|
|
|
### Enumeration members
|
|
|
|
* [AssumeLocalFile](userinputresolutionoption.md#assumelocalfile)
|
|
* [DefaultResolution](userinputresolutionoption.md#defaultresolution)
|
|
|
|
## Enumeration members
|
|
|
|
### AssumeLocalFile
|
|
|
|
• **AssumeLocalFile**: = 1
|
|
|
|
This option makes fromUserInput() always return a local path unless the input contains a scheme, such as http://file.pl. This is useful for applications such as text editors, which are able to create the file if it doesn't exist.
|
|
|
|
___
|
|
|
|
### DefaultResolution
|
|
|
|
• **DefaultResolution**: = 0
|
|
|
|
The default resolution mechanism is to check whether a local file exists, in the working directory given to fromUserInput, and only return a local path in that case. Otherwise a URL is assumed.
|