Print preview dialog : Add selection by date.

Add two news option for select diagrams to print :
select "from the date :" and select "at the date".
This commit is contained in:
Claveau Joshua
2020-09-30 21:29:17 +02:00
parent 930bb70f99
commit add11e7c7a
3 changed files with 79 additions and 4 deletions

View File

@@ -73,7 +73,11 @@ class ProjectPrintWindow : public QMainWindow
void on_m_uncheck_all_clicked();
void print();
private:
void on_m_date_cb_userDateChanged(const QDate &date);
void on_m_date_from_cb_currentIndexChanged(int index);
private:
void requestPaint();
void printDiagram(Diagram *diagram, bool fit_page, QPainter *painter, QPrinter *printer);
QRect diagramRect(Diagram *diagram, const ExportProperties &option) const;