Kexi/Junior Jobs/Implement "Do you want to open" question after exporting report: Difference between revisions

From KDE Community Wiki
(Created page with "'''Status: todo''', '''Target: 2.9''' Map browser widget is a GUI element that displays globe and map for given location. Proposed and mentored by ~~~~ ==The Goal== Impleme...")
 
Line 6: Line 6:


==The Goal==
==The Goal==
Implement "Do you want to open exported document?" question dialog after exporting report to Text/Spreadsheet/as Web Page.  
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:
This is where the "Export As" command is available for a report:

Revision as of 21:56, 7 March 2014

Status: todo, Target: 2.9

Map browser widget is a GUI element that displays globe and map for given location.

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:

Requirements

  • Use KMessageBox::questionYesNo() for displaying the dialog
  • For the const KGuiItem& buttonYes argument ise KStandardGuiItem::open()
  • For the const KGuiItem& buttonNo argument ise KStandardGuiItem::close()
  • This is similar to the question of CSV import: