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
Closed

Simple input dialogs #6326

fcollonval opened this issue May 9, 2019 · 1 comment

Comments

@fcollonval
Copy link
Member

@fcollonval fcollonval commented May 9, 2019

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
Member

@blink1073 blink1073 commented May 9, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants