Results 1 to 6 of 6
Thread: Qwidget issues
-
21-10-2011, 18:59 #1
-= TeamSpeak User =-
- Join Date
- Oct 2011
- Posts
- 4
Qwidget issues
With the background color set to transparent in Qwidget my whisper lists window does not function properly. If i change the color code to #000000, the whisper list runs perfectly, but then it covers my image and background colors in Qmainwindow and in Qwidget: : pane. Is there something Im missing in the qwidget to keep it from affecting the other sections?
}
QWidget {
color: #e6e6e6;
Background-color: transparent;
}
QMainWindow {
background-image: url('Styles/ArmoredFist/Images/top test.png');
background-position: right top;
background-repeat:repeat-x;
background-attachment:fixed;
background-color: #000000;
color: #ffffff;
}
QWidget:
ane {
top: 12px;
bottom: 2px;
color: transparent;
border: 1px solid #333333;
margin-left: 7px;
margin-right: 7px;
background: transparent;
background-image: url('Styles/ArmoredFist/Images/top2.png');
background-position: center;
background-repeat:no-repeat;Last edited by USMCGhost; 21-10-2011 at 21:48.
-
25-03-2012, 22:01 #2
-= TeamSpeak User =-
- Join Date
- Mar 2012
- Posts
- 5
same problem, would love to know a solution.
I cant find any way to override the QWidget background-color after setting it, and without setting it whisper lists and permissions have no background set.
-
28-03-2012, 11:58 #3
-= TeamSpeak Team =-
- Join Date
- Aug 2009
- Location
- Germany
- Posts
- 47
To be honest, I'm not completely sure what you are going to achive.
Almost every Qt "window" is based on a QWidget and I think because of
that you just can't set the background to transparent.
You maybe have to specify the whisper widget by using QWidget#detailsWidget{ ... }.
I found the exact name with the hotkey "Stylesheet Helper" btw in case you don't know.
Is this what you are trying to do?
And what is a QWidget pane? Does every widget really have one?Code:QWidget#detailsWidget{ color:#e6e6e6; background-color:transparent; background-image:url('styles:default/logo-128x128.png'); }
I think not because I can't see any blue stuff.Code:QWidget::pane { color:blue; }
-
03-02-2013, 22:13 #4
-= TeamSpeak User =-
- Join Date
- Jan 2013
- Posts
- 3
The issue you're having is that the inheritence of the transparency affects all sibling classes unless otherwise specified.
In the case of your whisper lists, (and a few other odds and ends) try the following:
Set the background to the color of your choosing. All the listed elements will inherit this value.Code:FriendFoeManager, ServerLogView, LogDisplay, ClientLogView, FileBrowser, BookmarksManager, UserVolumeWidget, EmoticonsDisplay, QDialog#BanDialog, QWidget#ConnectionInfoDialog, QWidget#UrlCatcherViewer, QWidget#ServerConnectionInfoDialog, QWidget#ServerQueryView, QWidget#addPropertiesWidget, QWidget#OfflineMessagesDialog, QWidget#sound3Dwidget, QWidget#sound3DTestWidget, QWidget#CustomizeToolbar, QWidget#PermissionsWidget, ImprovedWidget#WebServerList, ImprovedWidget#ChannelGroupsOfClientDialog, ClientDatabaseListViewer, TokenView, InvitationDialog, WhisperDialog, WhisperHistoryWidget, FileTransferView, BanList { background: #??????; }
Now - does anyone happen to know the classname or proper syntax to apply coloring to the Compose Offline Message Dialog? It's literally the last element that gives me ghosting issues.
-
06-02-2013, 16:53 #5
-= TeamSpeak Team=-
- Join Date
- Sep 2012
- Posts
- 3,129
StyleSheetHelper Hotkey is really really helpful for this kind of stuffCode:/* Compose Offline Message Dialog */ OfflineMessagesNew { background: blue; } OfflineMessagesNew QLineEdit { color: white; background: lime; } OfflineMessagesNew QListView { color: red; background: yellow; } OfflineMessagesNew QTextEdit { color: white; background: brown; } OfflineMessagesNew QLabel { color: white; background: purple; } OfflineMessagesNew QPushButton { color: white; background: green; } OfflineMessagesNew QSplitterHandle { background: #9b9b9b; } OfflineMessagesNew QWidget#scrollAreaWidgetContents { background: #00feFF; } OfflineMessagesNew QScrollBar { background: magenta; }
Don't try those color codes though... looks ugly... had to think of some colors real quick
Last edited by Chris; 07-02-2013 at 08:00.
-
08-02-2013, 22:42 #6
-= TeamSpeak User =-
- Join Date
- Jan 2013
- Posts
- 3
You are my hero!
I appreciate the help. (yes those are some ugly color-combos!)
Now to get 'er done! =)
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
issues
By jeff-m in forum WindowsReplies: 0Last Post: 29-07-2011, 13:48 -
QApplication & QWidget in the Plugin crashes
By Honc__ in forum PluginsReplies: 9Last Post: 10-02-2010, 16:51 -
Help Skinning QWidget and sub command
By The-Angelus in forum SkinsReplies: 2Last Post: 28-12-2009, 14:32 -
A8N-SLI and MIC issues
By Isengrim in forum [TeamSpeak 2] Client SupportReplies: 4Last Post: 16-08-2005, 22:09 -
Issues
By MistrOrnge in forum [TeamSpeak 2] Client SupportReplies: 1Last Post: 30-01-2005, 21:14


Reply With Quote