100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COS3711 Assignment 3 memo 2024 ready to submit $9.87   Add to cart

Other

COS3711 Assignment 3 memo 2024 ready to submit

3 reviews
 113 views  23 purchases
  • Course
  • Institution

COS3711 Assignment 3 memo 2024 Assignment 3 1. Introduction Please use CMake (and not qmake) when setting up your assignment projects. Qt Designer should not be used to design user interfaces, and you are expected to manually set up GUIs to ensure that you properly handle memory using Qt’s p...

[Show more]

Preview 6 out of 25  pages

  • September 4, 2024
  • 25
  • 2024/2025
  • Other
  • Unknown

3  reviews

review-writer-avatar

By: luwayla • 2 months ago

projects are always perfect. 100% guaranteed

reply-writer-avatar

By: CrystalIndigo • 2 months ago

Thank you luwayla

review-writer-avatar

By: zanndeleezannas • 2 weeks ago

review-writer-avatar

By: Rio12345 • 1 month ago

avatar-seller
COS3711 2024 ASSIGNMENT 3
MEMO
THERE IS A LINK TO THE ZIPPED FILE AT THE END OF THIS DOCUMENT



Crystal Indigo!
Crystal Indigo!
Providing all solutions you need anytime
+27 76 626 8187




**NOTE: if the GUI is displaying differently from what you desire just change
how the widgets are displayed. copy the code and run DO necessary
changes. If you having trouble running, reach out

,Redesigned UML
Code Outputs
Q1 and 2 the GUI output is the same, just different code

,Q3

,
,Q4




Source Code

Question 1

//book.h
#ifndef BOOK_H
#define BOOK_H
#include <QString>
#include <QStringList>
#include <QDate>

class Book {
public:
Book();
Book(const QString& t, const QStringList& a, const QString& i, const
QDate& p);

, void setTitle(const QString& t);
void setAuthors(const QStringList& a);
void setIsbn(const QString& i);
void setPublicationDate(const QDate& p);

QString getTitle() const;
QStringList getAuthors() const;
QString getIsbn() const;
QDate getPublicationDate() const;

private:
QString title;
QStringList authors;
QString isbn;
QDate publicationDate;
};

#endif // BOOK_H


//book.cpp
#include "book.h"

Book::Book() {}

Book::Book(const QString &t, const QStringList &a, const QString &i, const
QDate &p)
: title(t), authors(a), isbn(i), publicationDate(p) {}

void Book::setTitle(const QString &t)
{
title = t;
}
void Book::setAuthors(const QStringList &a)
{
authors = a;
}
void Book::setIsbn(const QString &i)
{
isbn = i;
}
void Book::setPublicationDate(const QDate &p)
{
publicationDate = p;
}

QString Book::getTitle() const
{
return title;
}

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller CrystalIndigo. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.87. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73918 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.87  23x  sold
  • (3)
  Add to cart