Back to index

fet  5.18.0
Public Member Functions | Static Public Member Functions
StartTimetablePrint Class Reference

#include <timetableprintform.h>

List of all members.

Public Member Functions

 StartTimetablePrint ()
 ~StartTimetablePrint ()

Static Public Member Functions

static void startTimetablePrint (QWidget *parent)

Detailed Description

Definition at line 42 of file timetableprintform.h.


Constructor & Destructor Documentation

Definition at line 108 of file timetableprintform.cpp.

{
}

Definition at line 112 of file timetableprintform.cpp.

{
}

Member Function Documentation

void StartTimetablePrint::startTimetablePrint ( QWidget *  parent) [static]

Definition at line 116 of file timetableprintform.cpp.

{
       if(gt.rules.initialized
              && students_schedule_ready
              && teachers_schedule_ready
              && rooms_schedule_ready
              && gt.rules.nInternalTeachers==gt.rules.teachersList.count()
              && gt.rules.nInternalRooms==gt.rules.roomsList.count()
              && gt.rules.internalStructureComputed){
       
              //prepare calculation
              numberOfPlacedActivities1=0;
              int numberOfPlacedActivities2=0;
              TimetableExport::getNumberOfPlacedActivities(numberOfPlacedActivities1, numberOfPlacedActivities2);
              
              TimetablePrintForm tpfd(parent);
              tpfd.exec();

       } else {
              QMessageBox::warning(parent, tr("FET warning"),
               tr("Printing is currently not possible, because you modified the dataset. Please generate a new timetable before printing."));
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:


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