Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 732251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:07:12+00:00 2026-05-14T07:07:12+00:00

The PyQt4 QTableWidget has both cellPressed and cellClicked signals. From the name, and the

  • 0

The PyQt4 QTableWidget has both cellPressed and cellClicked signals. From the name, and the little experimentation I did with them, they appear to do exactly the same thing. Is there a difference between the two?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T07:07:12+00:00Added an answer on May 14, 2026 at 7:07 am

    These signals on cells are not sharply documented (that I can find) but I’d interpret them by analogy with the pressed, clicked, and released signals on buttons:

    pressed means the mouse’s left button’s been pressed down inside the widget,

    released means the mouse’s left button’s been released (let up) inside the widget,

    clicked means the mouse’s left button’s been pressed, then released (let up), both inside the widget

    So if you press the button down inside the widget, hold it down, move the mouse elsewhere, and only then release the mouse’s button, then you should only see the pressed signal, but neither of the other two; while any clicked signal always implies both pressed and released have also been signaled.

    I believe that normal UI behavior should be to respond to clicked only, unless you want to do something special if the button’s pressed and not released for a certain time (i.e., held down for a prolonged time).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with the QTableWidget component in PyQt4 and I can't seem to get
I have several QComboBoxes in my PyQt4/Python3 GUI and they are filled with some
When i drag and drop the button into the QTableWidget, the button disappers from
Is there some simple way in PyQt to store data from QTableWidget to some
from PyQt4.QtGui import QApplication, QMainWindow, QPushButton, \ QLabel, QVBoxLayout, QWidget from PyQt4 import QtGui
Background This is only my second PyQt4 project. Developing a Windows app that has
I have some code creating a QTabWidget from Python using PyQt4. I want to
In my PyQt4 program, I retrieve a QColor from the User via QColorDialog. I
I have built PyQt4 from source and everything went smoothly until I tried to
I have tried to re-implement the QTableWidget.cellActivated(row, number) using PyQt4, to catch the coordinates

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.