My Google skills must be failing me today.
I've inherited from QTreeView to create a TreeView that stores a QStandardItemModel instead of a QAbstractItemModel. I have also inherited from QStandardItem to create a class to store my data in an item as is necessary.
I've successfully inserted my derived QStandardItem into my derived QTree...
My <style> for thumbnails currently looks like this:
<style type="text/css">
img.TN {
width: 100%;
margin-bottom: 5.294%;
cursor: pointer; }
</style>
This is annoying, because I have to apply this style to every single thumbnail image individually, when there could be any number of them on the screen at a...
Hi there,
I've came across various style switchers that allow you to change the stylesheet (i.e. Light, Dark, High Contrast), and carious text-resizers that allow you to resize the test (usually with Three A's, small, medium and large).
However, I can't seem to find a single switcher/resizer that works well together by allowing permuta...
I am making my own XSL stylesheet which will perform different views on the same XML document
Because the XML document is so large, i would like some links at the top of the outputted page to call each template that will be used to display the data.
At the moment I can create links that use anchors to a place in the document but it wo...
I added the solution to the code below.
The code at the bottom is what I have. I removed the creation of all tags.
At the top in the xml file I get.<?xml version="1.0" encoding="UTF-8" standalone="no"?> Note that standalone is no, even thou I have it set to yes.
The first question: How do I get standalone = yes?
I would like to add <...
I am looking for a way to retrieve the style from an element that has a style set upon it by the style tag.
<style>
#box {width: 100px;}
</style>
In the body
<div id="box"></div>
I'm looking for straight javascript without the use of libraries.
I tried the following, but keep receiving blanks:
alert (document.getElementById("b...
I want an XML stylesheet (XSLT) that will put the attributes of a few, specific, child nodes one-to-a-line. What is the XSLT for this?
I recently asked a related question that someone offered a stylesheet to solve but their stylesheet didn't work for some reason, and I am curious why -- the attributes simply didn't end up one-per-line....
Is it possible to set and change the icon on a QPushButton using stylesheets?
I need this for a Windows-based white-label Qt4.5 application that customers stylize using stylesheets.
Thanks.
...
I'm trying to recreate this type (example 1, example 2) of menu list style, but I need it to be able to handle nested lists and I'm not sure how to do it. does anyone have any insight how I can do this?
ie (w/ minimal markup) :
<ul>
<li>one</li>
<li>two
<ul>
<li>two and half</li>
</ul>
</li>
</ul>
Thanks a bunch...
I currently developing a multi-language interface for a Django project. But when I started to work on Arabic and Hebrew languages, I noticed all pages messed up after dir="rtl" to html tag (according to instructions on http://www.w3.org/International/tutorials/bidi-xhtml/)
Does that mean I need separate stylesheets for right-to-left lan...
I am looking for a place where I can download a bunch of CSS stylesheets to change the appearance of my titles, links, paragraphs, etc. I am not an artist, so I am hoping to leverage other people's skills in choosing the right fonts, colors, sizes, etc.
I do not want to include layout because then it won't be as generic. Does anyone kno...
I have a custom subclass of a QTreeView in a pyqt application. I'm trying to give the user the ability to highlight and "lowlight" (for lack of a better term) rows. Highlighted rows should have bold text and (optionally) a different background color. Any ideas?
I'm considering StyleSheets as an option, but have so far been unable to get ...
Hey i have a question.
At the moment i'm trying to use a stylesheet which i get through a if. but it doesn't do anything.
here is my code at the moment. the variable $stylesheet will be variable but while testing i've setted it to normal
<?php
$stylesheet = 'normal'
if($stylesheet = 'small')
{
$style = './sitestyle/styles...
Hi All,
I am using fedora/mozilla for my development enviorment.
I am using
margin: 0 auto;
to align a content in a center but it's not working on windows/IE8. while it is working properly on All other browser for Fedora, Window, Mac.
Regards,
Salil Gaikwad
...
I would like to be able to set the font size of the title of a QGroupBox using style sheets. I can't seem to figure it out.
Based on what I've read here, I've come up with the following code. Unfortunately, it doesn't quite work.
groupbox->setStyleSheet(style)
Where style is:
QGroupBox::title
{
subcontrol-origin: margin;
s...
Hello,
I have a snip code HTML as below :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:o="urn:schemas-microsoft-com:office:office" lang="en-us" dir="ltr">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta name="GENERATOR" content="M...
I'm working with Mozilla v1.7.12 on a constrained device (a Motorola set-top box) trying to resolve some memory leaks.
When I dynamically load a stylesheet which refers to some large images, I can see that the amount of consumed memory increases in correspondance with the size of the images. This is what I would expect.
Then, when I re...
Hi, if i have a single CSS stylesheet for a website and only want to declare it once, that is, not use the following code on every aspx page..
<link href="stylesheets/general.css" rel="stylesheet" type="text/css" />
Am i forced to use a .master page? or is there another way to do this..
...
I have placed a form on a page which looks like this:
<form id="editClassList" name="editClassList" method="get" action="EditClassList">
<label>
<input name="class-to-add" id="class-to-add" size="42" type="text">
</label>
<label>
<input name="save-class-btn" id="save-class-btn" value="Save Class(es)" type="su...
Hi all,
I noticed that I cannot add stylesheets on any page. They must be added to the master page.
I already have about 15 stylesheets in the master view, which seems like overkill, since only some of the pages use a certain stylesheet.
I imagine I could reference the file via javascript (although, I can't think of how off the top of...