exporttocsvdialog.h 641 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef EXPORTTOCSVDIALOG_H
  2. #define EXPORTTOCSVDIALOG_H
  3. #include <QDialog>
  4. namespace Ui {
  5. class ExportToCsvDialog;
  6. }
  7. class ExportToCsvDialog : public QDialog
  8. {
  9. Q_OBJECT
  10. public:
  11. explicit ExportToCsvDialog(QWidget *parent = nullptr);
  12. ~ExportToCsvDialog();
  13. private slots:
  14. void on_exportPushButton_clicked();
  15. private:
  16. Ui::ExportToCsvDialog *ui;
  17. QVector<QVector<QString>> selectedRows;
  18. const static inline QString exportView = "viewExport";
  19. void init();
  20. /*!
  21. * \brief fill the selectedRows vector with data based on the selected view
  22. */
  23. void selectRows();
  24. };
  25. #endif // EXPORTTOCSVDIALOG_H