mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 04:15:26 +03:00
Model print and compare user customisable style (#5866)
* New feature: Model print and compare customisable style * Layout cosmetics. * File handling tweak Message cosmetics
This commit is contained in:
parent
25049d041d
commit
2f91eba85d
16 changed files with 624 additions and 77 deletions
|
@ -23,6 +23,7 @@
|
|||
#include "appdata.h"
|
||||
#include "helpers.h"
|
||||
#include "modelslist.h"
|
||||
#include "styleeditdialog.h"
|
||||
#include <QPrinter>
|
||||
#include <QPrintDialog>
|
||||
|
||||
|
@ -189,3 +190,10 @@ void CompareDialog::on_printFileButton_clicked()
|
|||
ui->textEdit->print(&printer);
|
||||
}
|
||||
}
|
||||
|
||||
void CompareDialog::on_styleButton_clicked()
|
||||
{
|
||||
StyleEditDialog *g = new StyleEditDialog(this, MODEL_PRINT_CSS);
|
||||
if (g->exec() == QDialog::Accepted)
|
||||
compare();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue