Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple input dialogs #6326

Closed
fcollonval opened this issue May 9, 2019 · 1 comment · Fixed by #6327
Closed

Simple input dialogs #6326

fcollonval opened this issue May 9, 2019 · 1 comment · Fixed by #6327
Labels
enhancement good first issue pkg:apputils status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Milestone

Comments

@fcollonval
Copy link
Member

Describe the enhancement

In Qt framework, there are helper functions to request single information through dialog boxes: https://doc.qt.io/qt-5/qinputdialog.html#static-public-members

I think extensions authors could benefit from similar helpers like:

let n = getNumber({
 title: 'What\'s your code?',
 label: 'Code'
});
let t = getText({
 title: 'What\'s your name?',
 label: 'Name',
 placeholder: 'John Smith'
});
let i = getItem({
 title: 'Choose your favourite color',
 label: 'Color',
 items: ['red', 'blue', 'green']
});
@blink1073
Copy link
Contributor

Sounds good! Btw, you have a pending LinkedIn request from me. 😉

@blink1073 blink1073 added this to the 1.1 milestone May 9, 2019
@lock lock bot added the status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Aug 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement good first issue pkg:apputils status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants