Jump to content
  • 0

StyleSheets in Modorganizer 2


Gernash

Question

I want to have a #color when a mod folder only contanis meta.ini and not loose files or folders

 

Anyone out there know QT Programming?

 

[spoiler=Code snippet from dracula.qss]

/*

QAbstractItemView modifications

*/

 

QAbstractItemView {
border: 1px solid #323232;
selection-color: #bbbbbb;
selection-background-color: #4b6eaf;
alternate-background-color: #414547;
show-decoration-selected: 1;
outline: 0;
}
QListWidgetItem,
QTreeWidgetItem {
background-color: red;
color: yellow;
border: 1px solid purple;
}
QAbstractItemView::text {
color: #bbbbbb;
}
QTreeView::branch:hover,
QAbstractItemView::item:hover {
background-color: rgba(255, 255, 255, 0.05);
}
QTreeView::branch:selected:active,
QAbstractItemView::item:selected {
background-color: #4b6eaf;
}

QTreeView::branch:has-siblings:adjoins-item,
QTreeView::branch:has-siblings:!adjoins-item,
QTreeView::branch:!has-children:!has-siblings:adjoins-item {
border-image: none;
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
border-image: none;
image: url(:/stylesheet/branch-closed.png);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings {
border-image: none;
image: url(:/stylesheet/branch-open.png);

 

 

Link to comment
Share on other sites

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.