Programming :: Make A Program That Supports Plugins?
Aug 18, 2010Using PyQt4, is it possible to make a program where you can separately write custom QWidget subclasses and let the user add/remove them to your main app?
View 7 RepliesUsing PyQt4, is it possible to make a program where you can separately write custom QWidget subclasses and let the user add/remove them to your main app?
View 7 RepliesI want to know how can I make a GUI program from a shell program I coded in C a long time ago. Can anybody point me to good tutorials?
View 4 Replies View RelatedI am trying to compile systemc. Configuration is done OK and Makefiles are created. As soon as the "make" command i issue, recursively reaches the "utils" directory, errors are produced -declaration and include errors.
The files referenced by the errors DO exist and i hava managed to give g++ "-I ${LD_INCLUDE_PATH}, ie the variable, where all header dirs are listed. Libraries and compilers for gcc3.3 and g++3.3, i believe, are installed OK. code...
I'm looking for a program which supports iPod and burning playlists to CD's from inside (well, I'm looking for iTunes but damn these people in apple they won't release a version...)
View 1 Replies View RelatedI'm trying to do a shell script which are suppose to run a program as a specific user at system boot up. The problem is that I don't know for sure how to make the script add the users password to the prompt when it's necessary.
Basically the program would be run like this:
sudo -u extrema program_name -r /srv/program_name -d
and in this example the password is, "hidden".
How would I make this script run this program as user extrema with the password "hidden" at boot-up? I know how to put the script in the rc.X directory and so on, its more the syntax of the code.
First off, I'm completely new to bash scripting so forgive me if I make any egregious errors. I'm trying to make pop-up reminders for the simple calendar program when. This is what I have so far:
Code:
#!/bin/bash
# set the time format for when
#current="$(date +%I:%M %p)"
current="$(date +%-l%p)"
today=~/.when/today
[Code]....
When I run the script, gxmessage pops up and displays the correct information, but it does so for each line in "~/.when/today" that contains a time that matches the current system time (which would be three pop-ups at 10PM, according to the example). I want it to display the information only once. How can this be accomplished? Is a while loop even the right job for this?
I need to make some C program under linux to make some scripts that can talk to my Server's Parallel port by sending some quare signal as high or low, so what i can do ?
View 4 Replies View RelatedTitle : Author : Price
France : Mark : 40
Persia : John : 50
how i arranged my database. I am trying to write aprogram which does a search either using Title, Author or both.
[Code]....
but i am still unclear on how i am able to make the program check if either on of the input(either $Title or $Author) is not filled up, and if one of it is not filled up, use the other one which is filled to do a search.
I want to make a program that maintains a list of tags that can be attached to a set of files. Store the tags in the files. The main problem is that there is no way to get a list of all the tags without reading each and every file. And also what if you have an unused tag? Have a file that contains tag "keys" and file list "values". This seems like it would be fast and effective, but what if one of the files gets renamed?
View 12 Replies View RelatedJust out of curiosity: Is there a C or C++ (preferrably C++) library that supports exponents? And if so, what is its syntax?I need this because I am trying to define a class for sphere and cylinder objects in a C++ graphical interface, starting with the sphere:
Code:
class sphere {
int Radius;
[code]....
Where can I the information about the NUMA architecture supports in Linux
View 3 Replies View RelatedI am using GPROF for my code profiling ,but it seems GPROF doesn't supports multithread .Does any one know any other technique for profiling the application code I have checked oprofile but it profile kernel ,I just required for C code profiling technique that supports multiple threads
View 1 Replies View RelatedI'm sure this is a painfully naive question, but I don't suppose it can possibly lower my reputationFor Good Reasons,use a custom build of the audio editor audacity rather than the version in the openSUSErepositories. What I can't seem to figure out is how to get it to find and load the LADSPA signal processing plug-ins. I have the regulation ladspa libraries (1.13-6.2) from the Oss repository installed. The files reside at /usr/lib64/ladspa . audacity is built with ladpsa support enabled, and indeed reports that it is enabled if I look at the Effects tab under preferences. I have even entered the ladspa library path in a "ladspa.conf" file under /etc/ld/so.conf.d, which may or may not help. Regardless, I don't seem to see the ladpsa effects listed when I run audacity
View 8 Replies View RelatedI am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?
View 5 Replies View RelatedI've tried many times to get Qt plugins to work, but I just couldn't figure it out. I've written a small test application, how to write a plugin for it?
View 14 Replies View RelatedDownload firefox 4 from Index of /pub/mozilla.org/firefox/nightly/latest-trunk Unpack with ark to your home directry folder firefoxIn the folder firefox creat a new folder pluginscopy the contents from /usr/lib64/browser-plugins to the plugins folderStart firefox and there you go
View 9 Replies View RelatedI wanted to make some modifications to a Kate plugin, so I cloned the git repository, started doing a few changes, and it compiled. The problem is that when I run it, it uses the version of the plugin installed in the system, not the one compiled with Kate.
View 1 Replies View RelatedI wrote a test app that scans for plugins in a directory, calls their getWidget() method (implemented in my interface), and adds that widget to a layout.
The problem is that when I added a QTimer to my plugin class, it didn't work! Why?
And will it be easier to write the thing in Python and not use QPlugin? I just want to define a QWidget and have it added to the app.
I installed Codeblocks and build some programs, but I have two questions:1. Where are my header files placed, since I don't know where codeblocks is installed. Soemetimes I have to remove header file extension (.h) to be able to compile some source. I use gcc as setting for codeblocks to compile and build programs.2. Plugins for Codeblocks can be installed, but when browse codeblocks's wiki I can't find download links neither developer pages
View 3 Replies View RelatedI will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html
My code to get url's radio country.htm is:
Code:
Ok so Basically i have 2 questions
1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux
Code:
2. i need to know how to run/execute/open a file in a c++ program im using and its not working
Code:
I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)
My current Makefile
Quote:
#What needs to be built to make all files and dependencies
clean:
# End of Makefile
I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.
I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop
im trying to build a simple program for my C programming class, this is the source code
#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;
[Code]...
i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?
Im trying to make an all in one program splash screen for ubuntu.
the idea behind this is, I have alot of staff at my store who will be using a system system for a few programs, but almost none of them have any real use of ubuntu.
What I would like to do is have them log in and instead of seeing the desktop have a splash screen pop up with the program choices they can use, all in one place.
After installing a few packages without a package manager (yast), I was wonding if there is anyway to make a shortcut (or application link or whatever its call) for any given program you install to show up automatically on all users desktops and start menus(for lack of a linux term). For example I installed firefox to a folder in the /opt directory and found that i could drag and drop the shell command to the desktop to make a shortcut, or i could create a new application link on my desktop and point it at firefox. But what If i wanted that to show up for all users somewhere by default? Is there anything like the "all users" desktion winXP or the "public user" in win7?
View 2 Replies View RelatedI have a dedicated server which runs a game server. On that dedi, I had Debian installed, and I wanted to have graphical access to it so I installed Gnome and nxserver. I want the game server to run automatically when the server boots up and have it appear in a console window when I connect to nxserver. So I added it in the Startup list by going in System > Administration > Session.
My problem is that the program doesn't start when the system boots up, but only when I connect to nxserver. So I assume it is something like gnome not starting up or opening a session until I open one remotely or something such.
But is there anyway to have that game server start in a console window when the system starts up? I tried using init.d but the problem is that it doesn't open any window, and I need to interact with the server through the console. What can I do?
In Ubuntu 10.04 running Gnome I can right click on any window and it gives me an option to show that window on all desktops, so even if I switch to a different virtual desktop, that window will always show.Is there a command in terminal that can do this?
View 1 Replies View RelatedI'm wondering if anyone can tell me how to make rhythmbox appear when I load it? At the moment it just puts an icon in my notification tray. However, I just want it to appear so I can choose music! Does anyone know how I can just make rhythmbox appear on screen when I start it up?On a related note, does anyone know why rhythmbox has this odd behaviour? If I'm starting the music program, there's pretty much a 100% chance I want to start playing music, and I can't do that without looking at my music list in the player. So why would it not appear by default?
View 3 Replies View Relatedin order to play "Gish" - I need to cd .gish./gish- otherwise it won't find it's files - it need the working path, how can I put that in a sigle line in my games menu ?
View 2 Replies View RelatedHow to make a shortcut to a program?
It's a Java program started by a shell script
#!bin/sh
java -jar LinShredder.jar
It starts okay in its original folder, but when I link to it from e.g. the desktop it doesn't work.