~ubuntu-branches/ubuntu/quantal/fet/quantal

« back to all changes in this revision

Viewing changes to src/interface/settingstimetablehtmllevelform.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Radu Spineanu
  • Date: 2009-02-26 17:24:05 UTC
  • mfrom: (1.1.8 upstream) (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090226172405-6gty25bl74yp1vzp
Tags: 5.9.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
                level4RadioButton->setChecked(true);
45
45
        else if(TIMETABLE_HTML_LEVEL==5)
46
46
                level5RadioButton->setChecked(true);
 
47
        else if(TIMETABLE_HTML_LEVEL==6)
 
48
                level6RadioButton->setChecked(true);
47
49
}
48
50
 
49
51
SettingsTimetableHtmlLevelForm::~SettingsTimetableHtmlLevelForm()
65
67
                level=4;
66
68
        else if(level5RadioButton->isChecked())
67
69
                level=5;
 
70
        else if(level6RadioButton->isChecked())
 
71
                level=6;
68
72
        else{
69
73
                QMessageBox::warning(this, tr("FET warning"), tr("No level selected"));
70
74
                return;
74
78
 
75
79
        if(level>=3){
76
80
                int t=QMessageBox::information(this, tr("FET information"), tr("This level might generate very large timetables, maybe 1 MB per file"
77
 
                 " and 10 MB for all files of a timetable or even more."
 
81
                 " and 20 MB for all files of a timetable or even more."
78
82
                 " Are you sure you have enough disk space?"),
79
83
                 QMessageBox::Yes, QMessageBox::Cancel);
80
84