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

OS X dialogs don't display current color selection #10466

Closed
qgib opened this issue Nov 27, 2006 · 3 comments
Closed

OS X dialogs don't display current color selection #10466

qgib opened this issue Nov 27, 2006 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience

Comments

@qgib
Copy link
Contributor

qgib commented Nov 27, 2006

Author Name: Gary Sherman (@g-sherman)
Original Redmine Issue: 407

Redmine category:gui
Assignee: Gary Sherman


Dialogs that should display a color selection on a button (eg. vector properties fill and outline color, project properties background color, selection color) don't. The buttons are displayed with no color. This worked prior to the recent round of commits.

@qgib
Copy link
Contributor Author

qgib commented Dec 10, 2006

Author Name: Gary Sherman (@g-sherman)


From Tom:

I think the fix is to create a color button subclass. The Mac OS appears to be enforcing UI uniformity by requiring that the button appearance be controlled by an overall theme.

Setting the background for QToolButton has never worked in Qt4/Mac. Most QGIS color selectors were previously color labels next to uncolored QPushButtons. These were recently converted for Windows to single QToolButtons.

Qt Designer has a color button for the QPalette object which works like ours should. Trolltech created a QToolButton subclass with a custom paintEvent method to draw it so this is probably the way to do it.

@qgib
Copy link
Contributor Author

qgib commented Dec 13, 2006

Author Name: Gary Sherman (@g-sherman)


Fixed at 1907fd6 (SVN r6252) (thanks Tom)


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2009

Author Name: Anónimo (Anónimo)


Milestone Version 0.8 deleted

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant