100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COS3711 Assignment 1 2024 Solutions R150,00   Add to cart

Exam (elaborations)

COS3711 Assignment 1 2024 Solutions

2 reviews
 101 views  4 purchases

COS3711 Assignment 1 2024 Solutions with all the code running without any errors. Qt6 was used with Cmake, there are instructions at the bottom of the file on how to install Qt6 with Cmake and how to create the project and run the code provided with this document. If you are facing problems please ...

[Show more]

Preview 2 out of 21  pages

  • April 30, 2024
  • 21
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
All documents for this subject (25)

2  reviews

review-writer-avatar

By: elenaprowriter • 6 months ago

review-writer-avatar

By: willemcierenberg • 6 months ago

avatar-seller
MyAssignments
For Assistance with other modules
Call or Whatsapp +27682021794
www.myassignments.co.za




COS3711
Assignment 01
2024

Due date
14 May 2024

, QUESTION 1
mainwindow.h
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLineEdit>
#include <QDateTimeEdit>
#include <QCheckBox>
#include <QListWidget>
#include <QPushButton>
#include "ReviewData.h"

class MainWindow : public QMainWindow
{
Q_OBJECT

public:
MainWindow(QWidget *parent = nullptr);

private slots:
void addReview();
void printReviews();

private:
QListWidget *listWidget;
QPushButton *addButton;
QPushButton *printButton;
QLineEdit *nameLineEdit;
QDateTimeEdit *dateEdit;
QCheckBox *recommendedCheckBox;
QList<ReviewData> reviews;
};
#endif // MAINWINDOW_H


mainwindow.cpp
#include "mainwindow.h"
#include "reviewdata.h"
#include <QVBoxLayout>
#include <QDateTime>
#include <QLabel>
#include <QDebug>
#include <QMessageBox>

MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent) {
QWidget *centralWidget = new QWidget(this);
setCentralWidget(centralWidget);

QVBoxLayout *layout = new QVBoxLayout;
centralWidget->setLayout(layout);

2

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 EFT, 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 this summary from?

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

Will I be stuck with a subscription?

No, you only buy this summary for R150,00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67474 documents were sold in the last 30 days

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

Start selling
R150,00  4x  sold
  • (2)
  Buy now