COPASI API  4.16.103
Public Member Functions | List of all members
CQNoSelectionErrorWizardPage Class Reference

#include <CQAutolayoutWizard.h>

Inheritance diagram for CQNoSelectionErrorWizardPage:
Inheritance graph
[legend]
Collaboration diagram for CQNoSelectionErrorWizardPage:
Collaboration graph
[legend]

Public Member Functions

 CQNoSelectionErrorWizardPage ()
 
virtual bool isComplete () const
 

Detailed Description

This page is shown as the second wizard page if the user hasn't selectzed anything in the selection page.

Definition at line 67 of file CQAutolayoutWizard.h.

Constructor & Destructor Documentation

CQNoSelectionErrorWizardPage::CQNoSelectionErrorWizardPage ( )

Definition at line 69 of file CQAutolayoutWizard.cpp.

69  :
70  QWizardPage()
71 {
72  this->setTitle(tr("No selection Error"));
73  QVBoxLayout* pLayout = new QVBoxLayout;
74  this->setLayout(pLayout);
75  QLabel* pLabel = new QLabel("<font color='red'>Please go back to the selection page and select some model elements for which to create a layout.</font>");
76  QFont font = pLabel->font();
77  font.setBold(true);
78  font.setPointSize(font.pointSize() * 2);
79  pLabel->setFont(font);
80  pLabel->setWordWrap(true);
81  pLayout->addWidget(pLabel);
82 }

Member Function Documentation

bool CQNoSelectionErrorWizardPage::isComplete ( ) const
virtual

Definition at line 84 of file CQAutolayoutWizard.cpp.

85 {
86  return false;
87 }

The documentation for this class was generated from the following files: