Giter Club home page Giter Club logo

contactmanager's Introduction

Contact Manager

A simple project for the exam of Human Computer Interaction.The Contact Manager implements below properties:

  • Visualization of all contacts
  • Allow to order contacts by each fiel displayed
  • Single contact visualization
  • Insertion of a new one
  • Contact persistence
  • Contact tagging and tag search
  • Contact editing
  • Full text search.

ViewController consists of a list of contacts and a line where user can search contact. With a button user open NewContForm where create a new contact. User can modify and delete contact with the event of doubleclick element of list. Event shows ContactViewForm where he edit the field of contact. Below there is a rappresentation of the behaviour previously descrined.

CM

Prerequisites

The libraries necessary for the use of the program are:

  • PyQt5
  • qdarkstyle
  • pickle

Step1: Improve Persistence

The persistance of contacts was obtained through the module pickle. Contact is an object consisting of four attributes:

  • name
  • surname
  • email
  • notes: field text where make some annotation.

This module create a database save.p where the user can store an array of contact.

Step2: Design Graphic User Interface

Once the logic behind the representation and persistance of contacts has been decided, it was decided to use the module PyQt5 to create the GUI. Through this module they were made:

  • ContactList using QTreeView
  • A QPushButton connected the event of click button with the method newContact
  • A QLineEdit connected the event of text changed with method filterRegExpChanged, that filtering contacts
  • An event on doubleClick elements of QTreeView that shows the ContactView

Possible Improvement

Any possible improvements to software could be:

  • Check if every field of new contact was insert
  • Check if the field of new contact was correctly insert
  • ContactView contains a QLabel where it was insert an icon, future developers could replace this icon with a profile image

contactmanager's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.