35 bool printLine(
int indent,
const char *line);
38 virtual void keyPressEvent(QKeyEvent *event)
override;
41 Ui::PrintDialog *pd_ui_;
44 QPrinter *cur_printer_;
45 QPainter *cur_painter_;
46 QPrintPreviewWidget *preview_;
47 QPushButton *print_bt_;
59 void printPackets(QPrinter *printer = NULL,
bool in_preview =
false);
62 void paintPreview(QPrinter *printer);
64 void on_buttonBox_helpRequested();
65 void on_buttonBox_clicked(QAbstractButton *button);