Back to index

fet  5.18.0
Public Slots | Public Member Functions | Public Attributes
RemoveRedundantConfirmationForm Class Reference

#include <removeredundantconfirmationform.h>

List of all members.

Public Slots

void dontShowAgainCheckBoxToggled ()

Public Member Functions

 RemoveRedundantConfirmationForm (QWidget *parent)
 ~RemoveRedundantConfirmationForm ()

Public Attributes

bool dontShowAgain

Detailed Description

Definition at line 23 of file removeredundantconfirmationform.h.


Constructor & Destructor Documentation

Definition at line 22 of file removeredundantconfirmationform.cpp.

                                                                               : QDialog(parent)
{
       setupUi(this);
       
       continuePushButton->setDefault(true);
       
       connect(continuePushButton, SIGNAL(clicked()), this, SLOT(accept()));
       connect(cancelPushButton, SIGNAL(clicked()), this, SLOT(reject()));
       connect(dontShowAgainCheckBox, SIGNAL(stateChanged(int)), this, SLOT(dontShowAgainCheckBoxToggled()));

       dontShowAgain=dontShowAgainCheckBox->isChecked();
       
       plainTextEdit->setReadOnly(true);

       centerWidgetOnScreen(this);
       restoreFETDialogGeometry(this);
       
       QString s;
       
       s+=tr("Please read carefully the description below:");
       s+="\n\n";
       s+=tr("This function is intended to be used after you inputted all data or after you used the advanced function "
       "of spreading the activities over the week. This function will automatically remove the redundant constraints of "
       "type min days between activities, so that your data is more correct and the timetable easier for FET to find");
       s+="\n\n";
       s+=tr("Removing means making their weight percentage 0.0%. This is done so you can still activate them again, if "
       "needed, and also for you to be able to see when they are broken, in the soft conflicts list");
       s+="\n\n";
       s+=tr("This function might be usable if you have constraints of type activities same starting time and/or "
       "constraints activities same starting day");
       s+="\n\n";
       s+=tr("Please SAVE/BACKUP your current file and keep it safe, in case anything goes wrong, and only continue if "
       "you did that already. Current function might modify much your data");
       
       plainTextEdit->setPlainText(s);
}

Here is the call graph for this function:

Definition at line 59 of file removeredundantconfirmationform.cpp.

Here is the call graph for this function:


Member Function Documentation

Definition at line 64 of file removeredundantconfirmationform.cpp.

{
       dontShowAgain=dontShowAgainCheckBox->isChecked();
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 28 of file removeredundantconfirmationform.h.


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