Aleix Pol Gonzalez
|
a667b99dee
|
SystemDialog: Allow accepting the dialogs with the keyboard
If there's an enabled Ok button, it will accept the dialog when Enter is
pressed as it reaches the dialog.
BUG: 450223
FIXED-IN: 5.24.3
|
4 years ago |
Nicolas Fella
|
cdae8fef89
|
[systemdialogs] Remove leftover and broken components
These are presumably leftover from previous refactoring
Since those types don't exist they break things
CCBUG: 448423
|
4 years ago |
Aleix Pol
|
5291c77465
|
SystemDialog: Move the different implementations into a LnF file
This way a LookAndFeel package can override the dialog and trim it to
its needs.
|
4 years ago |
Aleix Pol
|
c531816078
|
Introduce SystemDialog
Have it wrap the DesktopSystemDialog or MobileSystemDialog within,
depending on whether we are on tablet mode or not.
|
4 years ago |
Aleix Pol
|
033e7a2896
|
DesktopSystemDialog: Account for the footer for the minumWidth
The footer (the DialogButtonBox + actions) may be bigger than the
contents, so let's also make sure it fits.
|
4 years ago |
Aleix Pol
|
b7ec1f1455
|
DesktopSystemDialog: Ensure we don't set the size until visible
Otherwise the value gets set by Qt somewhere and the binding gets
disconnected, setting a random, weird, size.
|
4 years ago |
Aleix Pol
|
ca21953b05
|
Implement a DesktopSystemDialog.acceptable property
Specifies if the accept button is enabled and otherwise should control
if we can accept the dialog.
|
4 years ago |
Aleix Pol
|
50eed45a73
|
DesktopSystemDialog: title = mainText by default
|
4 years ago |
Aleix Pol
|
b9e81fd0d8
|
DesktopSystemDialog: Provide minimum sizes appropriately
|
4 years ago |
Aleix Pol
|
d443132593
|
DesktopSystemDialog: Integrate accepting and rejecting
|
4 years ago |
Aleix Pol
|
8ede591a7d
|
DesktopSystemDialog: Let the dialog fit the contents
|
4 years ago |
Aleix Pol
|
5cb8817d83
|
DesktopSystemDialog: Leverage AbstarctButton.action
Instead of setting the same properties, set the action right away.
|
4 years ago |
Aleix Pol
|
0f1809b96e
|
DesktopSystemDialog: Prefer alias to duplicated properties
|
4 years ago |
Aleix Pol
|
3015ebf461
|
DesktopSystemDialog: Do not override a property from the parent
|
4 years ago |
Devin Lin
|
0870507dcc
|
Add MobileSystemDialog and DesktopSystemDialog components
|
4 years ago |