summaryrefslogtreecommitdiff
path: root/src/dialogs/DefaultFontDialog.qml
Commit message (Collapse)AuthorAgeFilesLines
* Unify license header usageAntti Kokko2016-02-041-12/+15
| | | | | | | Update old header.LGPL3 to header.LGPL Change-Id: I3c851bc24da89f6300b94199387d1adf16ca4f48 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* FontDialog: support i18n for the display names of font.weight enumsLiang Qi2015-05-181-9/+9
| | | | | Change-Id: I2e31ebe9f34bd862c9a375a99e625d42e64a7129 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* FontDialog: support more font.weight enum valuesLiang Qi2015-05-121-20/+9
| | | | | | | | | Followup to 0f61aa5efe1c12337f3ab753c08e70d6eaf6c2ab in qtdeclarative: make all possible font weights available in FontDialog. Task-number: QTBUG-46044 Change-Id: I91063c6aa3984ddc3d36f147fd2c3764fd2824d4 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Dialogs: update license headersJ-P Nurmi2015-02-111-31/+27
| | | | | | Change-Id: I1abdce308929507416b5f24b4442d0b978886a46 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* FontDialog: layout tweaks to fit better on small screensShawn Rutledge2014-11-251-26/+26
| | | | | Change-Id: Ic6b5d69a15e67fae70b375fe84d4f094203f20c3 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Dialogs: added private maximumDimension property for initial sizeShawn Rutledge2014-10-131-3/+2
| | | | | | | | | | | The Screen.attached property does not know which screen will be used until the dialog is shown, but we need to know how big the desktop is before it is shown in order to constrain a reasonable dialog size, before the Flow lays out the buttons. Otherwise it will be too tall. Task-number: QTBUG-41734 Change-Id: I44349fab4ad0254d2c6faf30c759fb9e52eebf03 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Dialogs: Use native rendering on non-mobile platformsShawn Rutledge2014-10-081-0/+2
| | | | | | | | | Follow the same rule as in QtQuick.Controls: change 332ef31f0d1645eded5588729176134bbdcd38a2 Task-number: QTBUG-41734 Change-Id: I6d80e0312d3986b90952e43ffbddec1fe007fddb Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* QtQuick.Dialogs FontDialog: support keyboard navigationLiang Qi2014-08-191-10/+26
| | | | | | | | [ChangeLog][QtQuick.Dialogs] FontDialog: support keyboard navigation Task-number: QTBUG-39365 Change-Id: Ic4cdbe6643be2fc66dbb23873e780a1f1f88a410 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* QtQuick.Dialogs FontDialog: fix a binding loop issueLiang Qi2014-08-051-1/+2
| | | | | Change-Id: Ie57b3900bd5a17fa4a05af945eeea98d2b12ffbd Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Implement input for entering non-standard font size.Leonard Lee2014-04-081-17/+53
| | | | | | | | | | | | User should be able to enter non-standard font size which is not available in the list of standard font sizes. The selected value in the list of standard font sizes should synchronize with the input field for the non-standard point size value, and vice versa if there is a match. Change-Id: I63b855054b2feb4dad339fe8ec06be5179bb2a37 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Bump QtQuick.Controls import version to 1.2J-P Nurmi2014-04-071-1/+1
| | | | | Change-Id: Idc0b93cbfc2fe23e8be3bcaece672d06555a81f6 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Import QtQuick 2.2J-P Nurmi2014-04-071-1/+1
| | | | | Change-Id: Ifc9719ec6fbbd80b866c01eebc471d0ed121bd16 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* QtQuick.Controls FontDialog: add margins to required widthShawn Rutledge2014-03-071-1/+1
| | | | | | | Task-number: QTBUG-37285 Change-Id: I334e576ba016354652dc9d2edc88c1ed78c0f570 Reviewed-by: Liang Qi <liang.qi@digia.com>
* FontDialog: new version of DefaultFontDialog.qmlLiang Qi2014-02-151-330/+208
| | | | | | | | | | | | Use Controls and Layouts in new DefaultFontDialog.qml. Use a TextInput for sample text, and the dialog supports tab key navigation. [ChangeLog][QtQuickDialogs][FontDialog] The FontDialog fallback QML implementation now uses QtQuick.Controls and QtQuick.Layouts. Change-Id: I133368b14c958c7231dc0ed9a4777b0712eb3670 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Add currentFont property to FontDialog.Liang Qi2014-02-031-2/+1
| | | | | | | | | | | | | | | | | QFontDialog has this property. This patch effectively means that the font property will be set when the dialog closes, instead of whenever the current font in the dialog changes, so pressing cancel will revert the font to what it was before the dialog was opened. Align with e73d503b84be12e7bf28491356b459ca309e7c95 in qtdelarative, the similar change for color dialog. [ChangeLog][QtQuickControls][FontDialog] Added currentFont property. Task-number: QTBUG-36574 Change-Id: I4140966543a677d8e654dbaac170a2fe8d3579a1 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* move QtQuick.Dialogs from qtdeclarative to qtquickcontrolsShawn Rutledge2014-01-031-0/+484
This will enable using Controls in the QML dialog implementations. For now, Controls are used only as drop-in replacements for the Button, Checkbox, and TextField which were custom implementations in the qtdeclarative module before. Change-Id: Ic79e9e8e5715a72ce51f4c724bfdfd33653300f2 Reviewed-by: Liang Qi <liang.qi@digia.com>