Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 36 pages
Exam (elaborations)

COS3711 Assignment 3 2025 | ANSWERS

Document preview thumbnail
Preview 2 out of 36 pages

Advanced Programming - COS3711 Assignment 3 2025; 100 % TRUSTED workings, Expert Solved, Explanations and Solutions. For assistance call or W.h.a.t.s.a.p.p us on ...(.+.2.5.4.7.7.9.5.4.0.1.3.2)........... COS3711/Assignment 3/2025 Assignment 3 1. Introduction Please read this whole assignment tutorial letter before starting to ensure that you know what is expected of you and you do not get surprised by some requirement later in the development process. Please note that you must not use Qt Designer, and you are expected to manually set up GUIs to ensure that you properly handle memory using Qt’s parent-child functionality. Three sets of files have been provided for you so that you do not have to do it all from scratch: • COS3711A3_QMainWindow_template – use this template to set up the main GUIs. • COS3711A3_ContainerWidget – this contains a widget providing the setup of the one interface. • COS3711A3_Icons – this contains icons that you can use in the application. Use these to set up a project (using cmake, not qmake) that uses a QMainWindow as the user interface so that you can implement the functionality provided by a QMainWindow (menus, toolbar, status bar) to meet the requirements of the scenario given below. Marks will also be awarded for following good programming practice, for example, • naming conventions, • code layout and line spacing, • using initialiser lists in constructors, • using forward class declarations in header files, • enabling and disabling buttons as appropriate, • GUI handling like setting focus, sequential tabbing, clearing input widgets (like text input fields being cleared and spin boxes being returned to some default value), and • providing appropriate user feedback (including tooltips and messages to the user). Your code should build and run without any warnings. Consider the following scenario and then design a solution to meet the requirements listed. 2. Scenario Transporting cargo around the world is essential in ensuring that customers have access to the goods they need and want. Containers All such items are packaged in some sort of container, each of which has a code, weight, and volume (which should be calculated and expressed as an integer). For the purposes of this scenario, there are two kinds of containers. • A box, where we want to know its dimensions: length, breadth, and height.

Content preview

COS3711
ASSIGNMENT 3 2025

UNIQUE NO.
DUE DATE: 2025

, Advanced Programming


Repo layout
COS3711A3/
├─ CMakeLists.txt
├─ app/
│ ├─ CMakeLists.txt
│ ├─ src/
│ │ ├─ main.cpp
│ │ ├─ MainWindow.h
│ │ ├─ MainWindow.cpp
│ │ ├─ Container.h
│ │ ├─ Container.cpp
│ │ ├─ Box.h
│ │ ├─ Box.cpp
│ │ ├─ Cylinder.h
│ │ ├─ Cylinder.cpp
│ │ ├─ ContainerFactory.h
│ │ ├─ ContainerFactory.cpp
│ │ ├─ Pallet.h
│ │ ├─ Pallet.cpp
│ │ ├─ PalletManager.h
│ │ ├─ PalletManager.cpp
│ │ ├─ BackupMemento.h
│ │ ├─ BackupMemento.cpp
│ │ ├─ UnallocatedModel.h
│ │ ├─ UnallocatedModel.cpp
│ │ ├─ SerializationWorker.h
│ │ ├─ SerializationWorker.cpp
│ │ ├─ TcpClient.h
│ │ ├─ TcpClient.cpp
│ │ └─ resources.qrc
├─ server/
│ ├─ CMakeLists.txt
│ ├─ src/
│ │ ├─ main.cpp
│ │ ├─ ContainerServer.h
│ │ ├─ ContainerServer.cpp
│ │ └─ ServerModel.h




1) Top-level CMakeLists.txt
cmake_minimum_required(VERSION 3.16)
project(COS3711A3 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_subdirectory(app)
add_subdirectory(server)

Connected book
 image
Gianna Cioni, Andrzej Salwicki Advanced Programming Methodologies
Publisher: 2014 ISBN: 9781483265452 Edition: Unknown

Document information

Uploaded on
September 10, 2025
Number of pages
36
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$2.77

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
LIBRARYpro
3.8
(1504)
Sold
10767
Followers
4904
Items
5056
Last sold
5 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions