pyQt and styles, listview widget highlighting first checkboxes
location: linuxexchange.com - date: January 13, 2015
I have a pyQt4 application, which uses "themes". By "theme", I mean that there are user-selectable variants of the style.qss stylesheet, with accompanying png for specialized graphics when necessary.
I have recently used a QtListView with a QStandardItemModel, where the components of the item model were set to have a check state:
item = QtGui.QStandardItem( app )
item.setCheckState( False )
item.setCheckable( True )
self.model_apps.appendRow( item )
[snip -- elsewhere in the code:]
self.app_listview = QtGui.QListView()
self.app_listview.setModel( self.model_apps )
I noticed that, in one of my themes, the first three items in the listview have a white outline around the checkbox square, but only the first three. Not that the checkbox is selected or anything, but just that the rectangle for the checkbox seems to be drawn with a white outline around it. In another theme
Listview only filling with first item
location: linuxexchange.com - date: October 13, 2013
I have a Listview that gets its contents from an async task, but only the first item is actually getting placed into the Listview.
My xml for the activity is:
<?xml version="1.0" encoding="utf-8"?>
How do I install Widget Styles??
location: ubuntuforums.com - date: August 20, 2011
I have just started my first real experience with KDE (Kubuntu Natty) after about 3 years with Gnome (Ubuntu). I like to customize my desktop as much as I can and am used to th ease at which you can install application themes in Gnome (using Appearances).
I have figured out how to install icon themes and plasma themes but cant seem to figure out how to install application themes (widget styles). I have found how to change the theme in Application appearance but can anyone tell me how to install new ones??
Thanks in advance for the help!!
Arch Linux My first week
location: ubuntuforums.com - date: January 27, 2013
So I finally did it -- my first Arch install. No I didn't abandon Ubuntu -- far from it -- I just wanted to see how the other side lives in a "more advanced distro". Here are my general impressions for any one else considering a similar experiment
Arch -- it can be complicated. I've used Ubuntu for a long time - 5 or more years and really like the command line. Most terminal commands are not foreign to me, and if they are, I'm very comfortable with how to find help. My first impression is that you actually have to configure everything about Arch and your hardware manually (well almost everything). The Arch beginner guide wiki is very well written -- don't skip any steps, however its somewhat incomplete?? if you have problems with your hardware. Getting the main system up and running particularly if you have an ethernet cable is actually pretty quick. Your left with a tty terminal for a log in. But that is where basically the guide ends and a little bit of the work (a
Should I install Ubuntu or Backtrack first?
location: ubuntuforums.com - date: August 14, 2012
I am planning on having a triple boot setup on my laptop with Windows 7 (soon 8), Ubuntu, and Backtrack. I have read up on setting up dual and triple boot systems, and it seems like some operating systems like to replace the existing GRUB with their own bootloader. Both Backtrack and Ubuntu use GRUB for multi-boot installations. Does it matter what order I install them in? Right now the computer only has Windows on it.
First time use of linux on laptop without OS
location: linux.com - date: March 11, 2013
I am a windows user for all my life now and just bought a lenovo thinkpad x230 without any OS pre-installed. I´m curious for linux and would like to try it.
I have some questions:
the thinkpad comes with intel core i5, 500GB ROM and 2x 4GB RAM. So i think i can use 64 bit versions of OS. I would like to use windows and linux.
Do i create partitions and what size before installing any OS (i plan to install windows 7 pro and maybe for starters ubuntu)? Or is it best to install e.g. linux beforehand and run windows from there in a virtual box?
I haven´t tried any of these options - please tell me about pro´s and con´s and how it would work in practice..
2) there is literally nothing pre-installed - even BOOTMGR-which is apparently necessary for installing an image isn´t installed. How can i install a linux version best, then?!
first Linux install, what could go wrong heh
location: linuxquestions.com - date: August 30, 2013
used linux before (ubuntuMeerkat I think) but first time ever reviving a sluggish old laptop by myself (dell latitude d620, intel t2300 @1.666GHz, 1gm of RAM, 74.5g drive).
Got (pretty much, I think) the data I want to save copied off it; got a distru of linux on a USB drive; thought I'd post here before I start to see if anyone has any wurdz of advice before I start...
tks in advance, wish me luck ;-)
[SOLVED] GDM login fails the first time, succeeds the second time
location: linuxquestions.com - date: August 13, 2012
I'm running Slackware 13.37 with Robby Workman's Xfce 4.8 and a pile of addons either from SBo or from myself.
Since yesterday I have a strange error. When starting up the machine, the first login attempt with GDM fails... or rather, it succeeds, but then I have an error message informing me that my session lasted less than 10 seconds. Now, if I validate that and get back to GDM, I can retry a login, and this second attempt succeeds.
Here's the .xsession-errors file:
LXer: DistroWatch Weekly: Future of Fedora, Ubuntu vs openSUSE, first look at Xandros Desktop 4.1
location: linuxquestions.com - date: November 27, 2006
Published at LXer:
Welcome to this year's 48th issue of DistroWatch Weekly! With the end of the year 2006 approaching fast, many developers are hard at work preparing their latest product releases. A new version of Xandros Desktop, the subject of our first look review, will be announced later this week, while SabayonLinux 3.2 and the PlayStation edition of Yellow Dog Linux 5.0 are also expected shortly. Debian GNU/Linux 4.0 is about to enter its hard-freeze period, while the recent release candidate for openSUSE 10.2 is reportedly shaping up into a highly polished distribution. Many other projects have been making steady progress towards their future releases - Freespire has launched its development process which will lead to a stable version 2.0 in the first quarter of 2007 and many far-reaching changes are also planned for the next release of Fedora Core. All these topics, together with the usual round-up of interesting news from around the distro world - that's issue 179 of Dist
Choosing first distro, stuck between Chakra and Sabayon
location: linuxquestions.com - date: June 13, 2012
[This is my first post here, and if it's incorrectly placed, I'm sorry. I read the stickies, but after going through the distro section, felt this would be best posted here.]
I'm going to be installing my first distro soon, and can't decide whether to go with Chakra or Sabayon. I'm choosing not to go with a simple distro, like Ubuntu or Mint, because I want this to be more of a learning experience. I've mulled over the decision with an experienced Linux user and he has no opinion of one over the other. Is it basically a 50/50 crap-shoot for my needs, or does one build suit me more? Thanks, any help or input is appreciated.
Page: 1 2 3 4 5 6 7 8 9 10