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

Реферат Інформаційна система житлового агентства





: writePosterTiItemsHiring (PosterHiring * poster, QLineEdit * city, QLineEdit * area, QLineEdit * nPhone, QComboBox * nRoom, QCheckBox * furtiture, QCheckBox * animal, QComboBox * tenant, QLineEdit * price) {int i = 0; city-> setText (poster-> getCity ()); area-> setText (poster-> getArea ()); nPhone-> setText (poster- > getNumberPhone ()); for (i = 0; nRoom-> currentText ()! = poster-> getSumRoom (); nRoom-> setCurrentIndex (+ + i)); furtiture-> setChecked (poster- > getFurtiture ()); animal-> setChecked (poster-> getAnimal ()); for (i = 0; tenant-> currentText ()! = poster-> getTenant (); tenant-> setCurrentIndex (+ + i)); price-> setText (QString ("% 1"). arg (poster-> getPrice ()));} void FunctionUser :: writePosterTiItemsRent (PosterRent * poster, QLineEdit * city, QLineEdit * area, QLineEdit * street, QLineEdit * home, QSpinBox * floor, QLineEdit * nPhone, QComboBox * nRoom, QCheckBox * furtiture, QCheckBox * animal, QComboBox * tenant, QLineEdit * price) {writePosterTiItemsHiring (poster, city, area, nPhone, nRoom, furtiture, animal, tenant, price); street-> setText (poster-> getStreet ()); home-> setText (poster-> getHome ()); floor-> setValue (poster-> ; getNumberFloor ());} void FunctionUser :: slotEditPosterHiring () {QLinkedList :: Iterator passage = current-> getPostersHiring () -> begin (); int row; for (row = 0; row currentRow (); + + row) + + passage; QDialog * window = new QDialog (this); Ui :: workWindowPoster uiWindow; uiWindow.setupUi (window); QObject :: connect (uiWindow. okButton, SIGNAL (clicked ()), window, SLOT (accept ())); QObject :: connect (uiWindow.cancelButton, SIGNAL (clicked ()), window, SLOT (reject ())); Ui :: posterHiring ui ; ui.setupUi (uiWindow.windowPoster); writePosterTiItemsHiring (* passage, ui.cityLineEdit, ui.areaLineEdit, ui.nPhoneLineEdit, ui.sRoomComboBox, ui.furtitureCheckBox, ui.animalCheckBox, ui.tenantComboBox, ui.priceLineEdit); if ( window-> exec ()) {readPosterHiring (* passage, current-> getLogin (), ui.cityLineEdit, ui.areaLineEdit, ui.nPhoneLineEdit, ui.sRoomComboBox, ui.furtitureCheckBox, ui.animalCheckBox, ui.tenantComboBox, ui.priceLineEdit); uiTabPostersHiring.tableWidget-> removeRow (row); uiTabPostersHiring.tableWidget-> insertRow (row); addInTablePosterHiring (uiTabPostersHiring.tableWidget, * passage, row);} delete window; viewButtonHiring (false); uiTabPostersHiring. tableWidget-> selectionModel () -> clearSelection ();} void FunctionUser :: slotEditPosterRent () {QLinkedList :: Iterator passage = current-> getPostersRent () -> begin (); int row ; for (row = 0; row currentRow (); + + row) + + passage; QDialog * window = new QDialog (this); Ui :: workWindowPoster uiWindow; uiWindow.setupUi (window) ; QObject :: connect (uiWindow.okButton, SIGNAL (clicked ()), window, SLOT (accept ())); QObject :: connect (uiWindow.cancelButton, SIGNAL (clicked ()), window, SLOT (reject (...


Назад | сторінка 20 з 23 | Наступна сторінка





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

  • Реферат на тему: Non-price Competition
  • Реферат на тему: Kansas City Attractions
  • Реферат на тему: Оцінка акцій методом САРМ (Capital assets price model)
  • Реферат на тему: Організація управління в ІП "Мустакімова" Агентства нерухомості & ...
  • Реферат на тему: Домашні та офісні мережі Home Lan - стандарти та обладнання (Home lan і інт ...