Part5 Reestructure of Ui and small fixes
ClosedPublic

Authored by laysrodrigues on Mar 15 2018, 2:39 AM.

Details

Summary

Add Itens on the View again

Re-enable the whole gui

Reestructure the creation of the sidebar

Remove commented code - Fix small things around

Fix variable names

Use Icons

We need new icons

Fix style issues

Signed-off-by: Lays Rodrigues <laysrodriguessilva@gmail.com>

Diff Detail

Repository
R231 Atelier
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
laysrodrigues requested review of this revision.Mar 15 2018, 2:39 AM
laysrodrigues created this revision.
laysrodrigues retitled this revision from Reestructure of Ui and small fixes [UI REESTRUCTURE] Start the Sidebar Layout to Part5 Reestructure of Ui and small fixes.Mar 15 2018, 2:41 AM
rizzitello requested changes to this revision.Mar 15 2018, 4:06 AM
rizzitello added inline comments.
src/mainwindow.cpp
19

New Empty line

src/mainwindow.ui
9–10

manually set these back

This revision now requires changes to proceed.Mar 15 2018, 4:06 AM
patrickelectric requested changes to this revision.Mar 15 2018, 12:48 PM
patrickelectric added inline comments.
src/mainwindow.h
46

Why this template is necessary ?

src/mainwindow.ui
11

This both should be zero no ?

laysrodrigues added inline comments.Mar 15 2018, 9:30 PM
src/mainwindow.h
46

@tcanabrava Can you address this? Its your code xD (Now I'm sure xD)

tcanabrava added inline comments.Mar 16 2018, 12:58 PM
src/mainwindow.h
46

it passes the type to the qobject_cast so I don't need to write qobject_cast<Blah>(m_map[s].second); every time, just .get<Blah>(s);

src/mainwindow.h
30
#include <QMainWindow>
#include <QToolButton>

Thy this is necessary ?

46

And where do you use the get function ? I can't find in this patch.

laysrodrigues added inline comments.Mar 16 2018, 3:11 PM
src/mainwindow.cpp
151

@patrickelectric he is using here

src/mainwindow.h
46

Ok, sorry for that.

laysrodrigues marked 3 inline comments as done.

Remove unused headers and remove empty line

Remove empty line

rizzitello accepted this revision.Mar 17 2018, 1:42 AM
patrickelectric requested changes to this revision.Mar 17 2018, 1:28 PM
patrickelectric added inline comments.
src/mainwindow.cpp
35

Alphabetic order.

36

Where this is used ?

40

Alphabetic order.

This revision now requires changes to proceed.Mar 17 2018, 1:28 PM
laysrodrigues planned changes to this revision.Mar 17 2018, 1:51 PM
laysrodrigues marked 3 inline comments as done.
laysrodrigues added inline comments.
src/mainwindow.cpp
36

removed.

laysrodrigues marked an inline comment as done.

Patrick fixes

patrickelectric requested changes to this revision.Mar 17 2018, 1:53 PM
patrickelectric added inline comments.
src/mainwindow.cpp
35

S goes before T.

This revision now requires changes to proceed.Mar 17 2018, 1:53 PM
laysrodrigues marked an inline comment as done.Mar 17 2018, 1:55 PM
patrickelectric accepted this revision.Mar 17 2018, 2:19 PM
This revision is now accepted and ready to land.Mar 17 2018, 2:19 PM
Closed by commit R231:c86dcfc61a93: [UI REESTRUCTURE] Start the Sidebar Layout (authored by tcanabrava, committed by Lays Rodrigues <laysrodriguessilva@gmail.com>). · Explain WhyMar 17 2018, 2:35 PM
This revision was automatically updated to reflect the committed changes.