Kexi/Junior Jobs/Implement "Do you want to open" question after exporting report: Difference between revisions
< Kexi | Junior Jobs
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Status: | '''Status: DONE''', {{reviewboard|116746}}, '''Target: 2.9''', Difficulty: EASY | ||
Proposed and mentored by [[User:Jstaniek|Jstaniek]] ([[User talk:Jstaniek|talk]]) 21:51, 7 March 2014 (UTC) | Proposed and mentored by [[User:Jstaniek|Jstaniek]] ([[User talk:Jstaniek|talk]]) 21:51, 7 March 2014 (UTC) | ||
__TOC__ | |||
==The Goal== | ==The Goal== | ||
Implement "Do you want to open exported document?" question dialog after exporting report to Text/Spreadsheet/as Web Page. Currently the document always opens, what is a usability defect. | Implement "Do you want to open exported document?" question dialog after exporting report to Text/Spreadsheet/as Web Page. Currently the document always opens, what is a usability defect. | ||
Line 11: | Line 12: | ||
==Requirements== | ==Requirements== | ||
*Use KMessageBox::questionYesNo() for displaying the dialog | *Use KMessageBox::questionYesNo() for displaying the dialog | ||
*For the const KGuiItem& buttonYes argument | *For the const KGuiItem& buttonYes argument use KStandardGuiItem::open() | ||
*For the const KGuiItem& buttonNo argument | *For the const KGuiItem& buttonNo argument use KStandardGuiItem::close() | ||
*This is similar to the question of CSV import:<br/>[[Image:Kexi-2.9-report-question.png|300px]] | *This is similar to the question of CSV import:<br/>[[Image:Kexi-2.9-report-question.png|300px]] |
Latest revision as of 20:47, 18 March 2014
Status: DONE, Review: 116746, Target: 2.9, Difficulty: EASY
Proposed and mentored by Jstaniek (talk) 21:51, 7 March 2014 (UTC)
The Goal
Implement "Do you want to open exported document?" question dialog after exporting report to Text/Spreadsheet/as Web Page. Currently the document always opens, what is a usability defect.
This is where the "Export As" command is available for a report: