first re-commit.
This commit is contained in:
28
libMiniCash/mcprinter.cpp
Normal file
28
libMiniCash/mcprinter.cpp
Normal file
@@ -0,0 +1,28 @@
|
||||
/***************************************************************************
|
||||
|
||||
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 );
|
||||
}
|
Reference in New Issue
Block a user