Add program options --output and --hidden and implement PDF as export format

This commit is contained in:
wmayer
2012-03-31 13:25:01 +02:00
parent d3ffc1e5af
commit 76b5c9da7f
10 changed files with 94 additions and 15 deletions

View File

@@ -29,6 +29,7 @@
# include <QEvent>
# include <QCloseEvent>
# include <QMdiSubWindow>
#include <iostream>
#endif
@@ -168,22 +169,24 @@ void MDIView::windowStateChanged( MDIView* )
{
}
void MDIView::print(QPrinter* printer)
{
std::cerr << "Printing not implemented for " << this->metaObject()->className() << std::endl;
}
void MDIView::print()
{
// print command specified but print method not overriden!
assert(0);
std::cerr << "Printing not implemented for " << this->metaObject()->className() << std::endl;
}
void MDIView::printPdf()
{
// print command specified but print method not overriden!
assert(0);
std::cerr << "Printing PDF not implemented for " << this->metaObject()->className() << std::endl;
}
void MDIView::printPreview()
{
// print command specified but print method not overriden!
assert(0);
std::cerr << "Printing preview not implemented for " << this->metaObject()->className() << std::endl;
}
QSize MDIView::minimumSizeHint () const