留学生论文代写、paper代写、essay代写、exam代考

c/c++程序代写、c++编程代写,c++作业代写_计算机代写——dueessay保分计划

admin

DueEssay提供assignment代写,英国assignment代写,美国assignment代写,澳洲assignment代写,assignment代写推荐,assignment代做推荐,assignment代写价格等。还提供计算机编程代写,C++代考,C++代考价格,C++代考推荐,c语言编程代做,cs代考,java代写,python代写等。
代做data留学生作业、代写Python,Java编程设计作业、代做c/c++语言作业,代写data留学生作业、代做c/c++,Java,Python程序语言作业、代写program课程作业,Mingxinwrite拥有出身于世界前50名校的研究生或PhD,作为您专属的学业辅导老师。老师们都具有资深的写作经验,并且Mingxinwrite对老师会进行严格的岗前培训,所有事项都要遵守规范的流程。 提供最专业的学业上服务—论文/Essay/Paper/Dissertation/Assignment /Report/Online Course/Exam等等 ,每次课业都会分配相应专业的老师 ,客服人员会实时跟踪完成的进度,保证了成果完成的效率和质量。 承诺作品的原创性,所有作品,均会通过Mingxinwrite内部Turnitin系统检测 ,经得起任何考验!
 

CS代写、计算机作业代写,java代写,python代写,c/c++代写

Coursework 2: Responsive Layouts

Date set: 9.11.20

Date due: 23.11.20

Weighting: 35%

Goals for this CW:

● Demonstrate a working understanding of writing custom layouts

in C++ and Qt

● Create a prototype layout for an app

● Design a beautiful responsive layout

Getting started:

● Watch the video.

● Download and extract this zip file

● Open the .pro file with Qt Creator

● Set the first command line argument to point to the folder which

contains your unzipped source code. Add double quotes around

the folder.

● Run the project. It creates a main window with several coloured

labels which can be manually resized. Try changing the size of the

window; observe the responsive design - the number, location and

size of the widgets change.

● Run the project in automatic test mode (warning your screen

will flash rapidly):

1. Add a second command line argument: test (without

quotes).

2. Run the program again.

3. Observe that a number of different window sizes are

displayed, screenshots are taken, and written to the report

directory in the root of the project. The program then exits.

View the report/index.html in a browser and observe the

terrible responsive design.

4. Set the project back to manual mode for your

development by removing the program argument test.

● There is a new system for generating a file to submit. Try this

now.

1. add a second command line argument pack (without

quotes)

2. run the program again. Check the "Application Output"

tab in Qt Creator for any error messages.

3. your files and report are packed into a file submit.patch

in the directory above your source output.

4. check that your submit.patch contains both your

automatically generated report and your source code by

replacing the command line argument pack with unpack.

This will extract to the submit.patch to the directory

2020/11/10 16:30

https://minerva.leeds.ac.uk/bbcswebdav/pid-8239642-dt-content-…4881_XJCO2811/cw2/CW2_%20Repsonsive%20Qt/CW2RepsonsiveQt.html ?码:2/4

tmp_xxxx, located next to the patch file. (you should do this

before submission!)

5. Your project will be graded using this automatic script

and report; you are encouraged to submit early and

often….

6. ...so please submit this default submit.patch to Minerva

now.

● The project contains three important C++ classes:

1. ResponsiveWindow: This subclasses QWidget and

creates the widgets to be displayed in the

ResponsiveWindow::createWidgets function. It sets

a ResponsiveLayout and adds various

ResponsiveLabels.

2. ResponsiveLayout: This subclasses QLayout and

arranges the ResponsiveLabels in the window using the

ResponsiveLayout::setGeometry function.

3. ResponsiveLabel: This subclasses QLabel and

creates a label widget with a name and a coloured

background.

● Read the classes to understand how they work together to

create the layout you have observed. Lecture 6 discusses such

custom layouts.

● The following widgets and associated colours have been

predefined in the ResponsiveLabel header file. (Lecture 5

introduces some useful terminology):

1. home link (kHomeLink)

2. shopping basket button (kShoppingBasket)

3. sign-in - assume user is logged out (kSignIn)

4. navigation tags - main site areas (kNavTabs)

5. advertisements for related products (kAdvert)

6. search button (kSearchButton)

7. search result - there may be several of these on one

page (kSearchResult)

8. search text field (kSearchText)

9. show next page of search results (kSearchForward)

10. show previous page of search results

(kSearchBackward)

11. detailed search options - price, product rating, category

etc.. (kSearchOptions)

Your task:

● You will create a prototype layout for a page of a mobile app.

This prototype will demonstrate which widgets are shown on what

sized devices and how their layout adapts in a responsive manner.

● In this coursework you will build a single responsive page layout

for a shopping app. The page will show search results.

● Notes:

○ You should carefully plan which labels are shown at

different screen sizes. You may wish to sketch the widgets

on paper before you write code.

X

您可以截屏并微信扫二维码

微信号:littlefairyessay1

(点击微信号复制,添加好友)

打开微信

微信号已复制,请打开微信联系客服!
QQ号已复制,请打开QQ添加客服好友!