Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Mejda

#1
Programming Help / Simulation/constraints
July 23, 2012, 09:09:56 AM
Hello,
I added a module to FET but when I compile , this  takes a long time and the following messages are displayed
Quoteconstraints after first pass (after removing inactive ones)
  1 time constraints after second pass (after removing wrong ones)
1 space constraints after first pass (after removing inactive ones)
  1 space constraints after second pass (after removing wrong ones)
please  I have not known where the problem is.
thank you :)
#2
Programming Help / signal/slots
July 18, 2012, 07:56:44 AM
Hello,
I created a class to add another level of group (It becomes years, groups, subgroups and subgroupsTp) All works well but I still have the close button: when I link it to the close slot, my program terminates and displays an error message"The program ended abruptly". I did not understand where my problem is localized. please help me and thank you :)
#3
General Stuff / Level of groups in FET
July 05, 2012, 10:30:28 AM
Hello,
I ask if we have in our university 4 level (year, groups, subgroups(TD) and for each   subgroups(TD), we have subgroups (TP) )we need to add this level modify program FET or we have an option to do this.
thank you :)
#4
Hi,
I do not know if have right to ask this question hear :)
I want to générate windows version of my fet application how I dévélopped it on ubuntu.
thank you :)
#5
Programming Help / how I print timetables
June 01, 2012, 10:35:16 AM
Hi Liviu,
I want to identify the location in program when I modify the paper which includes all times tables of teachers after printing   because for single timetables I modify functions singleTeachersTimetableDaysHorizontalHtml() and singleTeachersTimetableDaysVerticalHtml () .. but for this paper I can't identify function responsible for his generation
thank you :)
#6
General Stuff / Upload files to ftp server
May 23, 2012, 03:19:41 PM
Hi Liviu,
I tried to upload files to ftp server but some file are uploaded correctly but other are empty
I I did not understand what is my problem :(

QFtp *ftp = new QFtp(this);
     //connect(ftp,SIGNAL(commandFinished ( int, bool)),this,SLOT(fincommande()));
     ftp->connectToHost("ftp.icwus.net");

   connect(ftp, SIGNAL(stateChanged(int)), this, SLOT(showNewState(int)));
     ftp->login("mylog","mypw");
     connect(ftp, SIGNAL(stateChanged(int)), this, SLOT(showNewState(int)));
     ftp->cd("acrgafsa");
     connect( ftp, SIGNAL( commandFinished( int, bool )),this, SLOT( ftp_commandFinished( int, bool )) );



     int i = 0;
     QString filename;
    QString files = QFileDialog::getOpenFileName(this, tr("Select File"),
     "D://");


     if (files.isEmpty())
     { qDebug() <<"file is empty";
         return;}

     while(files.indexOf("/", i) != (-1)) //find the file name not include the full url
     i = files.indexOf("/",i) + 1;
     while(i < files.size())
     {
     filename.append(files.at(i));
     i++;
     }

     QFile *file = new QFile(filename);
     Q_ASSERT(file != NULL);


     if(!file->open(QIODevice::ReadWrite)) //finished create the file in the debug file
     {
     qDebug() << "opern err" << file->fileName();
     return;
     }
      qDebug() << "start upload";
      QFileInfo fi(files);

     ftp->put(file,fi.fileName());
     connect( ftp, SIGNAL( commandFinished( int, bool )),this, SLOT( ftp1_commandFinished( int, bool )) );
     qDebug() << "fin upload";
     ftp->close();
#7
Talk It Up! / Chat about languages :)
May 19, 2012, 07:00:48 PM
unlike thank you for the correction I should concentrate on my mistakes in English but in tunisia we are good in french not englich. (we spreak french and arabic)
:D
#8
General Stuff / Generate Teacher_information
May 17, 2012, 11:14:48 AM
Hi,
please how can I extract grade, number of hours(cour,TP,TD) for a teacher.
like for name you do :
QString Teachername=gt.rules.internalTeachersList[teacher]->name;
thank you :)
#9
Hi,
my problem is how I can create this adress like you ("http://lalescu.ro/liviu/fet/forum/index.php?board=1.0)
me I want have an adress for check
#10
hello,
I use Qftp when I instantiate this class it is ok but when do an appel to a function like(ftp.connectToHost("ftp.trolltech.com"); compilator send me this error(error: expected constructor, destructor, or type conversion before '.' token)
thank you
#11
General Stuff / How to generate a pdf file?
May 12, 2012, 04:44:51 PM
Hello,
i ask if we can with FET generate timetables in pdf formes and how I do this.
thank you  :)
#12
General Stuff / help
May 11, 2012, 09:00:03 AM
Hello,
I want to modify structure of my timetable so I will have names of hours in column and names of days in rows this is ok for me but activities still not changed so please what are names of functions I must changed them in order to my activitie writen in column and row
thank you  :)
#13
Report a Bug / in execution of assert
May 06, 2012, 02:43:49 PM
hello,
I have a problem in the execution of assert in my new class added by me.
fet: interface/weboutput.cpp :606 : void writeTeachersTimetableDaysHorizontalHtml(QWidget*, const QString&, const QString&, int):  assert: « gt.rules.initialized && gt.rules.internalStructureComputed » failed
#14
General Stuff / Execution if assert
May 06, 2012, 02:23:11 PM
please I create a new class in the interface folder named "weboutput.cpp" and I do a copy of a part of my code from class timetableexport (in the engine folder) to this new class  but i have a problem in execution of assert.
the message is  "L'assertion « gt.rules.initialized && gt.rules.internalStructureComputed » a échoué."
I can't identify where is the problem
thank you