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 titelbar in external view #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

michielbrink
Copy link

for window resizing and moving, it wasn't possible before.

@neomilium neomilium self-requested a review April 2, 2017 20:42
@@ -40,7 +40,7 @@ ExternalMasterView::ExternalMasterView(QWidget *parent) :

ui->setupUi(this);
this->layout()->addWidget(_uiMasterMonitor);
this->setWindowFlags(this->windowFlags() | Qt::FramelessWindowHint);
this->setWindowFlags(this->windowFlags() | Qt::Window | Qt::CustomizeWindowHint | Qt::FramelessWindowHint ); //Qt::FramelessWindowHint for disable border
Copy link
Member

@neomilium neomilium Apr 2, 2017

Choose a reason for hiding this comment

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

Comment at the end of line is useless and commented code is prohibited to keep sources clean :-)

@neomilium
Copy link
Member

Could you look at review, fix code and fix typo in commit log.

Note : in Minotor, we use commit logs with format 'XXX: changes' where XXX is the affected part.
In this context : "External view: add title-bar to ease window manipulation" is a good commit log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants