29 lines
828 B
C++
29 lines
828 B
C++
|
/***************************************************************************
|
||
|
|
||
|
libMiniCash
|
||
|
Copyright © 2013-2022 christoph holzheuer
|
||
|
c.holzheuer@sourceworx.org
|
||
|
|
||
|
This program is free software; you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation; either version 3 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
***************************************************************************/
|
||
|
|
||
|
|
||
|
#include <mcprinter.h>
|
||
|
|
||
|
/**
|
||
|
* @brief Erzeugt einen QPrinter mit den gewünschten Voreinstellungen.
|
||
|
*/
|
||
|
|
||
|
MCPrinter::MCPrinter()
|
||
|
{
|
||
|
// Seite einrichten
|
||
|
setPageOrientation( QPageLayout::Portrait );
|
||
|
setPageSize( QPageSize( QPageSize::A4 ) );
|
||
|
setFullPage( false );
|
||
|
setPrintRange( QPrinter::AllPages );
|
||
|
}
|