Jump to content

Question

Posted

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);

 

 

Recommended Posts

  • 0
Posted

I'm not sure what you are after is possible with stylesheets alone. All the UI elements are defined in MO's code using Qt as the framework and there needs to be a specific element that the stylesheet hooks.

The highlighting that occurs when you select a mod to show any conflicts is defined in the programme code itself and then assigned a specific UI element for Qt to work with.

 

Aside from that I'm not sure what else I can offer. Making stylesheets is fairly easy though as you can have MO open and work on the stylesheet in an editor and the changes will show as you make them.

  • 0
Posted

Arrrrg I did not realize I could name the Dividing file

 

 

-----------------------------------------------------Core Files--------------------------------------------

 

still perusing color change

  • 0
Posted (edited)

OK started on the Style Sheet Never seen Qt before (well other than MO)

 

Here is a >>>direct link<<< to the in progress work (2am need sleep just uploaded in current state)

 

This will be the Pip-Boy themed ModOrganizer 2 for the wiki

 

that's  >>HERE<< if you didn't know

 

If anyone wants to help or has artistic suggestion as I do it, go hard.

Edited by Gernash
  • 0
Posted (edited)

So apparently I know basic QT Styling now....

 

It's still in copy paste form Might Nexus when I get the graphics in.....

 

Working on importing graphics to it now......

 

Pit-Boy V1.0b Stylesheet ............

V1.01b (cosmetic/styling changes)

Edited by Gernash
  • 0
Posted (edited)

OK, I spent more time playing with it....er Stylesheets. Now I'm up to the point of adding it to the Nexus.

I have sent emails etc to the people that I Used artwork from but they may never reply.....

 

Does anyone Know what I can do? Other then use picture of my cat.

 

Anyway this is Vau1t-101 Stylesheet V1.0.0 (No there is not download link didn't you read above?)

Edited by Gernash
  • 0
Posted

That last edition looks... fantastic. The previous ones were just too bright and green for me, maybe the addition of the 101 did it?

What artwork are you referring to? If it is the 101 and the radioactive logos surely they are free to use by anyone?

I will definitely use this on my Fallout installs.

  • 0
Posted

I'm going to go out on limb here and say you are completely fine with using those images. Both are already using logos/iconography from the game so any cause for complaint will come from the developers, not those artists. However the use of artwork from the game has always been an acceptable use of those assets when used for game related work.

  • 0
Posted (edited)

Going by this randumb guys magic pic of flowcharty goodness I'll say yes....Hope I don't get banned......

Edited by Gernash
  • 0
Posted

I think the red is too jarring a colour, it clashes with the more subtle greens of the rest of the UI. A vibrant yellow would still serve as a highlight but not be overly distracting. IMHO.

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.