-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
90 lines (82 loc) · 3.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|=======================|
|*** UIC Desktop App ***|
|=======================|
Team Peter:
>Peter Hanula (Graphics, front end design)
>Peter Bekos (Data gathering, back end design)
|=======================|
>>>Project Goals:
The goal of this project is to bring all sorts of UIC related information
to students with out the need to go on a mad scavenger hunt
|=======================|
>>>Design in Mind:
Front End:
We are going to go with a "tab and section" styled layout
-Homepage, a place to start
-Maps, any type of map graphic one would need around UIC
including CTA and food
-Directory, listing of staff contact info
-Courses, listing of course selection
-Events/News, news feed
-Athletics, scores and updates on sport teams
-Library, information on library and contents
-Book Store, book pricing and look up
-Housing, useful housing information including laundry view
-Safety, numbers to call
Back End:
-Restaurant Database, a text file storing all restaurant information
for a location
-Menu Database, text files per restaurant that contain menu, food and price
-Course Database, html files re made containing course data
-HTML Parser, finds the information we want from a website,
very custom build and not too flexible, but it works well
-Menu Loader, loads in and allows manipulation of menu info
-Location Loader, loads in and allows manipulation of restaurant info
|=======================|
>>>Implementation of Ideas:
Front End:
It started with design mode in qt and dragging widgets onto our main
window. We wanted a simple guy that was organized but also very stylish.
This is where style sheets came in. once we knew more or less the layout
of our application, we added some widgets and edited the style sheets.
then we were able to create a simple slide out menu that was efficient
and spared us space. Some styling also included the addition of subclasses
to make a group of widgets do specific things ( for example enter and leave
events for the side menu buttons ). we were able to group the side menu
buttons together and only they would react to the subclass.
Back End:
Goal 1: Efficient way to get the data we need
Goal 2: Tools to "play with" data we have
-Since there wasn't a solid structure defining all restaurants in a local
area, I had to scout them out my self and decide how far we were going to
go. Then from that I went on google and hand picked the restaurants to
include. From there I had found a website that had a nice layout where
I would grab all the menu pages as HTML and then extract the name and
price of each dish and store them in text files.
-Part two of my project was finding a way to put this data to use. I
started off creating a function to read in the information in my text file
and then proceeded to make functions that can interpret the data, for instance
like a search function.
|=======================|
>>>Project File Structure:
//340Final (Peter H, front end)
//UICmod (Peter B, back end)
-structure.txt, file listing how I'm going to make the infomation work
-main.cpp, main for my tool programs
//courseCat
-contains all the modified course html files
//HTML
-contains all restaurant menu html files
//images
-contains a few graphics from project run
//Locations
-list of restaurants
//Menus
-menu files
//include
-header files
//src
-c++ class files
//REMADE FOR QT
-modified classes that worked with Qt, considering we had problems
connecting the back and front end