mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: add member function to print options
Get the currently selected template. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
61a8ac09b0
commit
b37498d355
2 changed files with 6 additions and 0 deletions
|
@ -96,3 +96,8 @@ void PrintOptions::on_editButton_clicked()
|
|||
te.exec();
|
||||
setup();
|
||||
}
|
||||
|
||||
QString PrintOptions::getSelectedTemplate()
|
||||
{
|
||||
return ui.printTemplate->currentData().toString();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue