Теми рефератів
> Реферати > Курсові роботи > Звіти з практики > Курсові проекти > Питання та відповіді > Ессе > Доклади > Учбові матеріали > Контрольні роботи > Методички > Лекції > Твори > Підручники > Статті Контакти
Реферати, твори, дипломи, практика » Курсовые обзорные » Розробка інформаційної системи для організації тенісних турнірів

Реферат Розробка інформаційної системи для організації тенісних турнірів





{_OBJECT: TTMSMainWindow (QWidget * parent = 0);

~ TTMSMainWindow (); manager; ticket; ::: TTMSMainWindow * ui; slots: on_commandLinkButton_clicked ();

};

# endif// TTMSMAINWINDOW_H


Файл TTMSMainWindow.cpp

# include "ttmsmainwindow.h"

# include "ui_ttmsmainwindow.h" :: TTMSMainWindow (QWidget * parent): (parent), (new Ui :: TTMSMainWindow)

{> setupUi (this);

} :: ~ TTMSMainWindow ()

{ui;

} TTMSMainWindow :: on_commandLinkButton_clicked ()

{userLoginInput = ui-> loginLineEdit-> text (); userPassInput = ui-> passLineEdit-> text (); crewManager ("C: Users Oleksiy Documents managers.txt "); (crewManager.open (QIODevice :: ReadOnly))

{stream (& crewManager); str; (! stream.atEnd ())

{= stream.readLine (); (userLoginInput == str)

{((str = stream.readLine ()) == userPassInput)

{> hide ();> manager.show ();;

}

}

}

}. close (); crewSeller ("C: Users Oleksiy Documents sellers.txt"); (crewSeller.open (QIODevice :: ReadOnly))

{stream (& crewSeller); str; (! stream.atEnd ())

{= stream.readLine (); (userLoginInput == str)

{((str = stream.readLine ()) == userPassInput)

{> hide ();> ticket.show ();;

}

}

}

}. close ();

}


Файл Main.cpp

# include

# include "ttmsm ainwindow.h "main (int argc, char * argv [])

{a (argc, argv); w;. show (); a.exec ();

}


Файл ManagerWindow.h

# ifndef MANAGERWINDOW_H

# define MANAGERWINDOW_H

# include

# include

# include

# include Ui {ManagerWindow;

} ManagerWindow: public QMainWindow

{_OBJECT: ManagerWindow (QWidget * parent = 0);

~ ManagerWindow (); ::: ManagerWindow

// void on_pushButton_2_clicked (); on_addMatchPushButton_clicked ();

};

# endif// MANAGERWINDOW_H


Файл ManagerWindow.cpp


# include "managerwindow.h"

Назад | сторінка 10 з 12 | Наступна сторінка





Схожі реферати:

  • Реферат на тему: Створення молодіжного журналу "Main Stream"
  • Реферат на тему: Файл .htaccess
  • Реферат на тему: Файл менеджер на мові C #
  • Реферат на тему: Файл з розширенням. Docx
  • Реферат на тему: Grammar of the Text: its Basic Units and Main Features (based on the novel ...