Jump to content


What Qt5 widgets are being used in P4Merge?

merge P4Merge Qt5 Theme Color

  • Please log in to reply
8 replies to this topic

#1 ransagy

ransagy

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 28 January 2017 - 12:20 PM

I've been trying to use the P4VResources\p4vstyle.qss external stylesheet method to get P4V in general, and specifically P4Merge to have a dark theme when i use it.
QDarkStyleSheet (https://github.com/C...QDarkStyleSheet) is very helpful towards that - But there's an issue with the diff line coloring when using it.

I've contacted the author and he replied here (https://github.com/C...Sheet/issues/46).
Is there any chance the dev team can comment on this and provide the needed info to be able to control the diff line coloring externally?

Thanks in advance.

#2 Igor

Igor

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 24 May 2017 - 02:50 PM

Hi ransagy! Were you able to find the answer you were looking for?

I have the same problem. Using High-Contrast theme on Windows is undesirable since it corrupts my Visual Studio colors. I am using Windows 10 and theme from https://github.com/C...style/style.qss as my p4vstyle.qss. I am trying to switch to black background across all the software that I use, and p4merge is giving me a hard time.

#3 ransagy

ransagy

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 25 May 2017 - 07:41 AM

Sadly, No. I gave up seeing there was no response on this matter in the various issues opened over the years.
I just started using different diff/merge tools.

#4 p4rfong

p4rfong

    Advanced Member

  • Staff Moderators
  • 343 posts

Posted 25 May 2017 - 05:30 PM

P4V 2017.2 (to be released in June) will be built with Qt 5.8.0 on Mac OS X, and with Qt 5.6.1 (same version used for P4V 2017.1) on Windows and Linux.

As for high contrast, the following article may or may not help:
"Using P4V on high resolution monitors"
http://answers.perfo...ticles/KB/15289

#5 Igor

Igor

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 25 May 2017 - 06:50 PM

Which diff tool you use on Windows and what would be the command line to support black background?

View Postransagy, on 25 May 2017 - 07:41 AM, said:

Sadly, No. I gave up seeing there was no response on this matter in the various issues opened over the years.
I just started using different diff/merge tools.


#6 Igor

Igor

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 25 May 2017 - 06:52 PM

That link is not relevant to this problem, since it talks about highDPI and not color customization.

When will colors in P4Merge be skinnable / customizable? Any idea what could be added to .qss to tweak colors for merge areas?

View Postp4rfong, on 25 May 2017 - 05:30 PM, said:

P4V 2017.2 (to be released in June) will be built with Qt 5.8.0 on Mac OS X, and with Qt 5.6.1 (same version used for P4V 2017.1) on Windows and Linux.

As for high contrast, the following article may or may not help:
"Using P4V on high resolution monitors"
http://answers.perfo...ticles/KB/15289


#7 p4rfong

p4rfong

    Advanced Member

  • Staff Moderators
  • 343 posts

Posted 25 May 2017 - 07:01 PM

Unfortunately, there are no plans to change the colors on P4Merge.  I don't know what tweaks to .qss can be made.  I found this link:
https://stackoverflo...ling-qtabwidget

#8 ransagy

ransagy

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 26 May 2017 - 10:07 AM

Right now I'm using kdiff3 as an alternative. It has configuration for the colours used.

#9 p4rfong

p4rfong

    Advanced Member

  • Staff Moderators
  • 343 posts

Posted 09 June 2017 - 09:27 PM

Thanks for the post so others will know your workaround!





Also tagged with one or more of these keywords: merge, P4Merge, Qt5, Theme, Color

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users