Go to advanced search

by cnguyen
Thu Oct 09, 2014 7:15 pm
Forum: Python
Topic: Disable desktop controls for raspberry
Replies: 2
Views: 641

Re: Disable desktop controls for raspberry

I wanted to run a pyqt app while disabling windows control. Here's what I figured out so far and it seems okay for now. In terminal: sudo nano /etc/xdg/lxsession/LXDE/autostart comment out with # the first 3 lines #@lxpanel --profile LXDE #@pcmanfm --desktop --profile LXDE #@xscreensaver -no-splash ...
by cnguyen
Thu Oct 09, 2014 7:11 pm
Forum: Python
Topic: Changing needle color in pyqt
Replies: 2
Views: 554

Re: Changing needle color in pyqt

Thanks. I was looking for something more simple like setSTyleSheet(handle, color=red) or something similar. Don't think there's such a thing though. Guess I gotta look into palette. (noob here)
by cnguyen
Wed Oct 08, 2014 8:33 pm
Forum: Python
Topic: Disable desktop controls for raspberry
Replies: 2
Views: 641

Disable desktop controls for raspberry

How do I run a python script (pyqt) while at the same time disabling controls outside the script. Basically , how do I disable the desktop control and lock user input to the script only.

Thanks. Love this forum.
by cnguyen
Wed Oct 08, 2014 3:57 pm
Forum: Python
Topic: Changing needle color in pyqt
Replies: 2
Views: 554

Changing needle color in pyqt

Anyone know how to change the needle of a QDial in PyQt? I am lost.
by cnguyen
Tue Oct 07, 2014 3:03 pm
Forum: Python
Topic: Array of functions
Replies: 4
Views: 859

Re: Array of functions

Here's my final code using pyqt. self.infoButtonArray=[] for x in range(25): self.infoButtonArray.append(QPushButton(" ",self)) #array of 25 def functions used to link to 25 QPushButtons def mk_FN(value): def _fn(): control_window.displayInfo(value) #this function just displays button number return ...
by cnguyen
Tue Oct 07, 2014 1:11 pm
Forum: Python
Topic: Array of functions
Replies: 4
Views: 859

Re: Array of functions

Awesome. Works great
by cnguyen
Mon Oct 06, 2014 3:20 pm
Forum: Python
Topic: Array of functions
Replies: 4
Views: 859

Array of functions

How do I define an array of functions in python? I'm using pyqt and have 20 buttons I need to define. buttons[25] def buttons[1](): button[1].setText("Button") def button[2](): button[2].setText("Button") def button[3](): button[3].setText("Button") and on and on. I just want to do all the def in a ...
by cnguyen
Fri Sep 19, 2014 1:36 pm
Forum: Python
Topic: Loading PyQt without X11 Server
Replies: 0
Views: 900

Loading PyQt without X11 Server

Can anyone point me in the right direction. I'm trying to run a pyqt gui script without having to load X11 first. Either that or disable everything on the X11 so only the script is accessible. header: import sys import serial import time from PySide.QtCore import * from PySide.QtGui import * I tried...
by cnguyen
Fri May 23, 2014 2:17 pm
Forum: C/C++
Topic: Need guide for installing qt on raspberry
Replies: 3
Views: 1486

Re: Need guide for installing qt on raspberry

Thanks. Although it'd be nice if website had a wiki for these things instead of going through the forums.
by cnguyen
Thu May 22, 2014 6:40 pm
Forum: C/C++
Topic: Need guide for installing qt on raspberry
Replies: 3
Views: 1486

Need guide for installing qt on raspberry

Is there a guide section on this website for simple things like installing QT on raspbian? I did a search and come with numerous ways that somewhat works but never a clear cut 'Do this...Done'.

Might be too simple but I have been a windows user my whole life and pretty new to the whole linux thing.
by cnguyen
Thu May 08, 2014 3:37 pm
Forum: C/C++
Topic: need somagic drivers easycap
Replies: 23
Views: 12669

Re: need somagic drivers easycap

raspberry pi with composite video input would be awesome.
by cnguyen
Thu Mar 27, 2014 4:20 pm
Forum: General discussion
Topic: Is there a new type Pi device in development?
Replies: 12
Views: 2346

Re: Is there a new type Pi device in development?

Maybe foundation will surprise everyone with a new pi board next year on 3/14/15 6:29

Go to advanced search