Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add font-awesome icons and re-arrange basic view #7

Merged
merged 10 commits into from
Jan 19, 2023
Merged

Conversation

medyagh
Copy link
Contributor

@medyagh medyagh commented Jan 19, 2023

Before

Screenshot 2023-01-19 at 11 06 20 AM

After

Screenshot 2023-01-19 at 12 25 47 PM

13537652-2bdd9834-0352-4ab0-a7ab-a93f770302ff.png">

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 19, 2023
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 19, 2023
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 19, 2023
basicview.cpp Outdated
const QString reloadIcon = "\uf021";

void BasicView::setFA(QWidget *wid)
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting seems off

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats actually what the formmater did for me, it makes the curly brace in next line, when I run
clang-format -i *.cpp *.h

basicview.cpp Outdated
}


static QString getPauseLabel(bool isPaused)
{
if (isPaused) {
return "Unpause";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to change the button to text once it's paused. Will want to make this a icon as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I know unfortunately we dont have icon for it now in FA 5, I am gonna have it as is for now, till we get the FA working

basicview.cpp Outdated Show resolved Hide resolved
basicview.cpp Outdated Show resolved Hide resolved
basicview.cpp Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 19, 2023
basicview.cpp Outdated Show resolved Hide resolved
basicview.cpp Outdated Show resolved Hide resolved
@spowelljr
Copy link
Member

Screenshot 2023-01-19 at 2 19 54 PM
Unpause icon seems broken

@medyagh
Copy link
Contributor Author

medyagh commented Jan 19, 2023

Screenshot 2023-01-19 at 2 19 54 PM Unpause icon seems broken

yes I created an issue for disccusing redoing the button logics, #6
I can fix in the follow up PRs

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: medyagh, spowelljr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@medyagh medyagh merged commit e48e82c into main Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants