Results 1 to 20 of 23

Thread: send signal from QCombobox

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    273
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: send signal from QCombobox

    Hi,
    "QEvent::FocusIn" looks to work but i have a symptom..if i ordered my query the results are interchanged
    combo: x,f,a
    Query Analyzer: a,f,x

    "select sprache from sprache_tbl order by sprache"
    Think DigitalGasoline

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: send signal from QCombobox

    Quote Originally Posted by raphaelf
    Hi,
    "QEvent::FocusIn" looks to work but i have a symptom..if i ordered my query the results are interchanged
    combo: x,f,a
    Query Analyzer: a,f,x

    "select sprache from sprache_tbl order by sprache"
    Use "order by sprache desc" in your sql statement or add items to the combo box in reverse order, see last() and previous().

  3. #3
    Join Date
    Jan 2006
    Posts
    273
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: send signal from QCombobox

    Hi jpn!
    Thank you very much for your spended time..I have downloaded the example an i will use "desc" for my Query..

    Thanks all for the best support!
    Think DigitalGasoline

Similar Threads

  1. pthread instead QThread
    By brevleq in forum Qt Programming
    Replies: 8
    Last Post: 23rd December 2008, 07:16
  2. Connection of custon signals/slots
    By brevleq in forum Qt Programming
    Replies: 2
    Last Post: 23rd December 2008, 07:04
  3. QComboBox activated signal: bad int value?
    By rfdutt in forum Qt Programming
    Replies: 1
    Last Post: 7th April 2008, 23:29
  4. Can you send a signal to a thread?
    By Dumbledore in forum Qt Programming
    Replies: 1
    Last Post: 9th November 2007, 20:31
  5. Manually send signal to slot
    By donmorr in forum Qt Programming
    Replies: 1
    Last Post: 29th May 2006, 15:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.