Movies organizer. Qt/C++/Sqlite
This application is a movie organizer. It helps anyone to order, choose and find back a movie in his collection.
The program is written in C++, with the Qt framework. It will be released for Linux, Windows and Mac OS X
- Rules for coding
- Presentation of the project
- English is used for all names (class, function, variable…)
- Abreviations are not tolerated anywhere in the code. All names must be as explicit as possible
- class names start with a capital letter
- members start with
m_
- local variables start with
l_
- function parameter names do not have a specific prefix
- global variables are prohibited, the few accepted are capitalized
- function names do not have a prefix, start with a lowercase character and use upper case characters for each new word (no underscore)
- curly brackets always stand alone on new lines
- if / else blocks always have curly brackets, even if only one call is to be done
- identation should follow the rules: always indent after curly bracket, except in switch/case
switch (var)
{
case 1:
fct();
break;
case 2:
otherFct();
break;
}
- blank line before calling return
- blank line before two logical blocs
This application is a movie organizer. It only let the user order and find the movies he has; the movie is opened with the user's favorite tool.
We should be able do add several metadata to each movie. To make it easily, the application will get and fill theses data thanks to an Internet movie database (like gracenote for the music).
- Title (I)
- Original title (I)
- Release date (I)
- Type of movie (Drama, documentary, romance, ... - multiple choice (I)
- Director (I)
- Country
- Synopsis
- Path to movie, subtitle (sometimes several movie for part 1, 2)
- Duration (read on file)
- Language available so on the file
- Color/B&W
- Format (16/9, 4/3, etc) (read on the file)
- Image size (620x420, 1920x1080, etc (read on the file)
- Cover
- Writer
- Star 1, star 2, star 3 , star 4, etc (I)
- Producer (I)
- Music by
- official website
- Box office
- budget
- Profit when released
- Nb of spectators when released
- Prizes: Oscar, lion, etc (several possibilities) And for whom (actor, actress, producer, director, writer, etc) (I)
- Shooting places (several possibilities: Lyon, Paris, London....)
- Season
- Name of the episode
- Number of the episode
All the (I) are indexes for ordering or research.