Search:

Type: Posts; User: tseliot; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.21 seconds.

  1. Replies
    5
    Views
    2,322

    Re: PyQt: Exiting Process

    You can reimplement closeEvent, as I suggested and call either deleteLater() or destroy() from there, as in this example.


    #!/usr/bin/python
    from PyQt4.QtCore import *
    from PyQt4.QtGui import *...
  2. Replies
    5
    Views
    2,322

    Re: PyQt: Exiting Process

    Maybe you can reimplement QWidget.closeEvent ?

    I can't be sure about what's going on without seeing the full code.
  3. Replies
    5
    Views
    2,322

    Re: PyQt: Exiting Process

    Maybe something like this?


    sys.exit(app.exec_())

    Where "app" is your QApplication:


    app = QtGui.QApplication(sys.argv)
  4. Replies
    21
    Views
    2,747

    Re: Auto-connect to strongest network?

    Moved
  5. Thread: Qt and console

    by tseliot
    Replies
    18
    Views
    1,294

    Re: Qt and console

    Here I tried to help another user who was trying to perform the same task.
  6. Replies
    2
    Views
    412

    Re: Qt4 and encoding

    Ubuntu uses utf-8 and here (see the end of "Initializing a String") the documentation says that the qPrintable() macro "is equivalent to calling <QString>.toAscii().constData()".

    Here it says that...
  7. Replies
    10
    Views
    2,749

    Re: GUI with OpenGL

    Maybe you can try Clutter.
  8. Replies
    8
    Views
    4,381

    Re: Help in Qt4 programming

    Of course you're getting an error. mscn should be a pointer.


    QProcess *mscn;
    mscn = new QProcess();

    now you won't need to use & when you connect the signals.

    Furthermore scn and mscn are...
  9. Replies
    8
    Views
    4,381

    Re: Help in Qt4 programming

    It's not what I meant.

    First of all you will have to connect the signals so that when an event is emitted, a member function will be called:

    connect( m_Scn,...
  10. Replies
    15
    Views
    4,910

    Re: xorg.conf editing

    It's all in the docstrings:

    import XKit.xorgparser
    help(XKit.xorgparser)
    or

    import XKit.xutils
    help(XKit.xutils)

    NOTE: xutils has some features you might want to use (it's all documented).
  11. Replies
    15
    Views
    4,910

    Re: xorg.conf editing

    I developed X-Kit which is installed by default in Ubuntu now (since Intrepid) as it's already used by Jockey (Restricted Drivers Manager), EnvyNG, (in some cases) Update Manager and Mythbuntu. The...
  12. Replies
    8
    Views
    4,381

    Re: Help in Qt4 programming

    QProcess::waitForFinished() will make the interface hang as it will make the program wait for the process to finish.

    You should do it in a different way, without using waitForFinished.

    Use a...
  13. Replies
    6
    Views
    553

    Re: c++ programming

    Moved to the Programming Talk.
  14. [ubuntu] Re: kernel update always kills nvidia - please help

    The problem is described here.

    I provided a fix but it looks like the packages are still in the hardy-proposed repository. Only one person wrote to confirm that the fix solves the problem. Please...
  15. Re: Enter your password to perform administrative tasks

    You might want to use PolicyKit.
  16. Replies
    17
    Views
    5,245

    Re: Gtk::AboutDialog and close

    Instead of doing aboutdialog1->run() (which locks the application until a response is given) you can connect the response signal emitted by the dialog to a function so that when a user clicks on the...
  17. [ubuntu] Re: NVIDIA driver suddenly started causing black screen from GDM

    post the output of this command:
    sudo aptitude search linux
  18. Replies
    285
    Views
    403,417

    Re: HOWTO: Kernel Compilation for Newbies

    try with linux-source.
  19. Re: Laptop keeps shutting down when using Ubuntu

    Moved to a more appropriate section.
  20. Re: Bash command to determine Ubuntu version number

    Type this command:

    lsb_release -r

    and you will get something like this:

    Release: 8.04
  21. Replies
    3
    Views
    308

    Re: Video Card without X

    Have a look at the documentation.
  22. Replies
    9
    Views
    2,585

    Re: PyQt Database Help Desparately Needed

    Ok, I see your point (and you're right) however it is also true that it would take a perverted mind to use the names which you can see in the class reference :-P

    Just kidding, eh
  23. Thread: My C/C++ IDE

    by tseliot
    Replies
    8
    Views
    2,731

    Re: My C/C++ IDE

    Try the class browser plugin. Gedit rocks ;)
  24. Replies
    9
    Views
    2,585

    Re: PyQt Database Help Desparately Needed

    I'm not as experienced as you and I know I can trust you, however this is used (and therefore suggested) in the book of PyQt4:



    from PyQt4.QtCore import *
    from PyQt4.QtGui import *
  25. Replies
    4
    Views
    397

    Re: projects in C and contributing to ubuntu

    The kernel, (most of) GNOME, Xorg, etc. but of course the only knowledge of C won't be enough in such cases. You will have to read the respective documentation.

    Of course, if you become a...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4