Programming :: Popup A Dialog On Application Start?

Apr 6, 2011

Anyway, here is something that is puzzling me and cannot think up a good way around it: I call the constructor and show elements of LoginDialog in the constructor of my QMainWindow, like this:

PHP Code:

MainWindow::MainWindow(QWidget *parent) :    QMainWindow(parent),    ui(new Ui::MainWindow){    ui->setupUi(this);    LoginDialog *lid = new LoginDialog(this);    lid.show();} 

LoginDialog is a QDialog and it does show up on application start... but...
It is not active! The QMainWindow is the active window, even if I put lid->activateWindow();

So, the question is: how do I pop up this dialog on application start in such a way that it will show the LoginDialog on startup as active window?

View 4 Replies


ADVERTISEMENT

Ubuntu :: Fluxbox Popup Dialog Boxes Not Showing Up

Dec 31, 2010

If I was to make any changes or download anything I have to switch to gnome, because in fluxbox the menu dialog boxes are not appearing.

I'm assuming they are coming up because if it's a dialog asking for my user password the window will unfocus and I can not click on it but no dialog box pops up!

View 1 Replies View Related

Ubuntu :: Open Application From Dialog Box?

Apr 20, 2011

How do I open an app from a dialog box? Eg the download db in FF in which you have options to Open or Save. I want to be able to navigate to a folder containing app folders which I can then open to find an icon to double click so as to launch an app. Much like in Windows navigating to Program files (I think it is called). How do you do this in Linux?

View 2 Replies View Related

Programming :: Get Perfect And Complete Way To Start Developing FW Application?

Jan 11, 2011

I would like to get help from experts who are experienced in the area of Linux network programming to help me to choose the proper way to create a special Firewall program.I do start reading WinSocket and tending to start BSD. I don't want to start with an API like winsock then stuck. So please, I do need a way to accomplish all features such as capturing, dropping or allowing all kinds of LAYERS as well as Intrusion detection.I am a good programmer in C++ but I am new for linux.So, what is the best Linux OS to install and start with and which is the best way to accomodate C++.

View 1 Replies View Related

Programming :: Do A Popup Window On A Webpage?

Mar 2, 2010

I want to do a "gallery" on a webpage, ie. a series of thumbnails, whhich when clicked, will popup a new window of a bigger image of that same things (with more details about it, etc.). How do I do that? (I think it's soemthing to with "window.popup" in Javascript, but how do I use that? Can I do it with <a href="something" target=new>?)

View 12 Replies View Related

Programming :: Popup A Box On A Webpage When A Particular Word Is Mouseovered On?

Apr 2, 2010

Just like ContentLink here on LQ itself, how do I popup a little box or something like that, when a particular word is mouseovered on?

View 3 Replies View Related

Programming :: Print Cgi Result (loan Calculator) Using Popup

Jan 7, 2010

I am using the script below but need to make it to show the result in a html popup window. The script is Free and I don't think Kristina will complaint by making it more versatile.

The problem I have is that the script moves to a standalone window to show the results. I am interested in making it "popup' a window with the results.

Code:
#!/usr/bin/perl
# NOTE: You must change the line above to point to the path to Perl
# on your system.
#########################################################################
##### AffordaBilly v1.0#
##### Copyright 2001, Kristina L. Pfaff-Harris, scripts@tesol.net#

[Code]....

View 1 Replies View Related

Ubuntu :: Opening Downloads In Firefox Brings Up "Launch Application" Dialog

Sep 1, 2011

I had recently reinstalled Kubuntu after breaking it for the n-th time and downloads will no longer open from the Downloads window of Firefox. Instead, it brings up a dialog with the title Launch Application and asks me which application I should open it with. This seems to happen all of the file formats I have tried; namely pdf, zip, deb, and png. This did not happen from before the reinstallation.

View 4 Replies View Related

Programming :: Programmatically Getting Standard File Dialog

Jul 14, 2010

Is it possible to do the following in C/C++ in Linux:Without direct linking (my program should NOT depend on Qt or GTK), display a GTK or Qt based file dialog.The behaviour should be something like this when my program runs, when you want to open a file:The program scans whether you have Qt installed. If so, it somehow manages to link itself to Qt (e.g. dynamically loading the .so file) and display its file dialog and get the path from it. If Qt wasn't found, it tries the same with GTK. If that also wasn't found, it displays a less powerful replacement dialog instead (better than nothing).

Or is there any other simple way in Linux to get a standard file dialog somehow (similar to when compiling for Windows you can very easily get its standard file dialog, no matter what version of Windows, in your code, even if your program doesn't use any other Windows GUI at all).

View 4 Replies View Related

Programming :: BASH: Dialog Menu With Descriptions?

May 5, 2010

I am envisioning a dialog menu with 2 sections, the top 2/3 a menu, then the bottom 1/3 is a message box. When you highlight a menu item it gives you a description of what it does in the message box. However I am not sure it is possible. Can this be done in BASH?

View 2 Replies View Related

Programming :: Cannot Get Conditional Statements To Work In XDialog/Dialog

Feb 5, 2011

I cannot seem to get if else statements to work. if $choice == Dog then i want it to say "you selected Dog" The variable choice has the value Dog in it as proved at the end by echo "yes $choice is $choice" following the error Code: ./test.sh: 37: [$choice: not found How do i get the conditional statement to work? What's wrong here? This is the full script:

Code:

#! /bin/sh
: ${DIALOG=dialog}
: ${DIALOG_OK=0}

[code]....

View 7 Replies View Related

Programming :: Graphical Dialog From Bash Without Grabbing Focus

Jun 28, 2009

I want to display an un-intrusive graphical dialog to notify the workstation user that a bash script has finished running. It should be "top level", so visible to the user when it appears but should not grab focus, so the user can continue working in the current window and dismiss the notification when convenient. Researching gdialog, xdialog, xmessage and zenity it seems none of them can do this; they all grab focus.

View 3 Replies View Related

Programming :: Make Radiolist Dialog Which Content So Many Options What Is The Value Of The Variable?

Dec 14, 2010

How can I make radiolist dialog which content so many options what is the value of the variable?Quote:

echo "How many options?"
read=VAR
dialog --title "sdf" --backtitle "sdff" --radiolist "ffdsfsd" 15 60 5 "1" "first" on "2" "second" off "3" "third" off "4" "fourth" off etc..

I must explode dialog in loop and add options? or something like that?

View 2 Replies View Related

Fedora :: Firefox Refuses To Start With A "Malformed File" Dialog

Jan 1, 2011

I've got a strange problem with firefox on Fedora 14 x86_64, at startup it just shows a dialog with a heading Malformed File and the following description:Firefox could not install this item because "" (provided by the item) is not well-formed or does not exist. Please contact the author about this problem.(see attachment.)there is only an OK button. Pressing it, nothing happens! firefox doesn't come up! I tried firefox --safe-mode,the same dialog pops up but after pressing ok, the "Firefox Safe Mode" dialog shows. No matter what I select on this dialog, firefox simply never comes up! I even created a new user, to try firefox without any addons, but the results are the same! Reinstalling doesn't help also! It has started since last firefox update (firefox-3.6.13-1.fc14.x86_64)

View 5 Replies View Related

Programming :: Using "dialog " To Generate Menu Base On Dir Contents

Oct 20, 2010

I'm just messing around trying to create a script that will give me a menu driven method of selecting a file from a directory. After doing some searching around on the web, I found that the "dialog" command might be able to provide what I need, but I'm not sure exactly if what I want is possible.

I was messing around with the --menu option and am getting pretty close, but not exactly what I want. Here's a snip of what I've been working with:

Code:

This gets me the results I want for the first option in the list, but the rest comes out a bit weird, as it's taking the directory contents and applying to the "tag" field as well. In fact, if there wasn't a need for the tag field, it would probably be working exactly as I want it to.

I plan on messing around a bit more to see if there is a workaround, but figured I'd post this just in case someone else had accomplished something similar. Essentially, this will be embedded in a script where each file in my $DIR variable will show in the menu and the selected file will end up in a variable for later use.

View 1 Replies View Related

Programming :: Check Menu & Check List In Utility Dialog?

Aug 19, 2010

I want to put check menu & check list in utility dialog.i dont know how i do this

View 1 Replies View Related

General :: Start An Application In Another Tty?

Oct 3, 2009

Is it possible to start an application in another tty. (Like to bother the desktop user from ssh.)

View 5 Replies View Related

Fedora :: Thunderbird As A Start Up Application?

Feb 10, 2011

I have Thunderbird installed and I really enjoy it as an application. I would like to set Thunderbird to start on boot. I tried to locate the binary for it in /usr/bin/ but was not able to. Has anyone done this before or does anyone know how I might go about locating the binary for it?

View 2 Replies View Related

OpenSUSE :: Miro Application Won't Start

May 28, 2010

I just installed the miro internet tv application using yast on my openSUSE 11.2 and I cannot start it.

Running the miro application from console gives me the following output:

nuca@ionpetrache:~> miro
PyNotify support disabled on your platform.
2010-05-28 13:51:55,501 INFO Starting up Miro
2010-05-28 13:51:55,502 INFO Version: 2.5.4
2010-05-28 13:51:55,508 INFO OS: Linux 2.6.31.12-0.2-desktop i686
2010-05-28 13:51:55,509 INFO Revision: ssh://wguaraldi@pcf1.pculture.org/var/git/miro - 1e20db82

[Code]....

View 9 Replies View Related

Ubuntu :: Start An Application In Terminal?

Apr 29, 2010

I have a binary application that runs only in shell, now I want to open it from another application(Mathematica program) but simply invoking it will start it in memory but not in a shell.

I tryed "bash app" which does not work and "gnome-terminal app" just opens the terminal without launching that application.

Ps: Its the same thing as in Java when you want to invoke a system command like
ping but you need to do it like this .exec("cmd ping") instead of just ping.

View 1 Replies View Related

Ubuntu :: Transmission Application Can't Start?

May 22, 2010

I've a big problem with Transmission on Ubuntu. The transmission application can't start.

I have do this

System -> Amministration -> System Monitor

I can see that "Transmission" is in sleeping. I've tryed to killed the application and restart it, but transmission back to sleeping time!

how I can do to restart transmission?

View 6 Replies View Related

CentOS 5 :: Application Won't Start - Error ?

Sep 29, 2009

I'm trying to get an application started, but it just keeps throwing this error:

I know it's a Perl Error and the proper module is installed, but I'm assuming it just can't find it.

View 3 Replies View Related

Debian :: How To Add Own Application In System Start Process

Sep 25, 2015

I am new to this debian plotform. How can I add my app to init.d linkup.

I did my programe for I2C Bit banging method and got output on Beaglebone black rev.C hardware.

I want to run my code after booting of beaglebone with out connecting to laptop or login process.

I want just powerup,then run my programe default.

/***************************Extra Information*************
#etc/inittab file
# The default runlevel.
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

[Code] .....

View 0 Replies View Related

OpenSUSE :: Can't Start Banshee Application After Upgrade It

Sep 11, 2010

After I upgrade the Banshee to 1.7.5-91 version, I can't start it. When try to start it, the window of it appears and close immediately.

Following is information I run it from console:

$banshee-1
[Info 18:48:29.169] Running Banshee 1.7.5: [Banshee / openSUSE_11.3 (linux-gnu, x86_64) @ 2010-09-07 20:06:10 UTC]
[Warn 18:48:31.955] Hardware manager extension failed to load - System.InvalidOperationException: Type 'Banshee.Hardware.Gio.HardwareManager' not found in add-in 'Banshee.Gio,1.0' (in `Mono.Addins')

[Code].....

View 3 Replies View Related

OpenSUSE :: After Update To 3.6.14 Firefox Cannot Start Application

Mar 2, 2011

I am using: Firefox 3.6.14 from buildservice. 3.6.13 from buildservice did work flawlessly. System 11.1 KDE3.5 release 21.13.1

Error message when starting from terminal:

Code:
user@linux-2c5j:~> firefox

Could not find compatible GRE between version 1.9.2.14 and 1.9.2.14. What I have tried: deinstallation of mozilla and reinstall. Does not change anything.

View 4 Replies View Related

OpenSUSE Install :: Start Mysql Before Another Application?

Mar 5, 2011

Through YaST's System Services I configured an application to start on boot. However, the application (mediatomb) is using mysql, so it should not be started before mysql. It is however, which means mediatomb fails to start.

How can I make sure mysql is started before mediatomb?

View 9 Replies View Related

Ubuntu :: Put In Synaptic The Cli Command To Start An Application

Jan 7, 2010

After having installed a certain programme, in my experience it can sometimes be slightly boring if you want to start the application from the terminal, but you can't figure out the right command, which to my knowledge is not always the same as the exact name of the application.

- Is there a way that I do not know to find this "start-up" command ? - Would it be convenient to include this command with the short description of the application as given in Synaptic (shown when selecting a programme in synaptic before marking it for installation etc.)

View 4 Replies View Related

Ubuntu :: Start Application (rott) With Shortcut?

Jan 30, 2010

I have the open source version of Rise of the Triad for linux. If I open rott in a terminal then I go tp the directory where the file is standing and do ./rott.

Now I want to make a shortcut on my desktop and if I putt

Code:
~/Games/rott-1.1.1/rott$ ./rott

in the shortcut then it won't start.

What can I do to start it with a shortcut.

View 9 Replies View Related

Ubuntu :: Application Start On Boot With Terminal?

Jul 12, 2010

How would one go about making an application start up on boot with terminal? I have a VPS that is ubuntu 8.04, and have command line access. I already compiled the application.

View 1 Replies View Related

Ubuntu :: Bin Application Failed To Start Properly

Nov 27, 2010

I accidentally deleted my bin just after booting up when the bin application failed to start properly. I can still send items to trash (right clicking and select from drop down menu) but I cannot restore them, see the bin icon or drag items to the bin area. It is quite annoying and I would be very grateful for comprehensive instructions on how to restore the bin to full operational functionality.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved