mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
PrintDialog class cleanup.
* Remove static PrintDialog::instance() method * Remove void PrintDialog::runDialog() method * construct/destruct print dialog on demand Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3086741d49
commit
02e9a6d07b
3 changed files with 5 additions and 17 deletions
|
@ -14,12 +14,10 @@ class PrintDialog : public QDialog {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
static PrintDialog *instance();
|
||||
void runDialog();
|
||||
struct options printOptions;
|
||||
explicit PrintDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
|
||||
|
||||
private:
|
||||
explicit PrintDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
|
||||
PrintOptions *optionsWidget;
|
||||
PrintLayout *printLayout;
|
||||
QProgressBar *progressBar;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue