In PyQt5, the QCommandLinkButton is a button that provides a user-interface option typically used in Windows Vista styled wizards. However, the QCommandLinkButton itself does not have properties related to auto-repeat interval times.
Auto-repeat behavior (where a button emits its clicked() signal at regular intervals if it's held down) and associated properties like auto-repeat interval are available for the QPushButton class. Specifically, QPushButton provides the autoRepeatInterval() method to get the auto-repeat interval time.
If you're interested in the auto-repeat interval of a QPushButton, here's how you would do it:
import sys from PyQt5.QtWidgets import QApplication, QPushButton app = QApplication(sys.argv) button = QPushButton("Click and Hold Me") button.setAutoRepeat(True) # Enable auto-repeat button.setAutoRepeatInterval(500) # Set the auto-repeat interval to 500ms # Get the auto-repeat interval interval = button.autoRepeatInterval() print(f"Auto-repeat interval: {interval} ms") button.show() sys.exit(app.exec_()) If you're specifically using a QCommandLinkButton and need such functionality, you might need to manually implement the auto-repeat behavior. Another approach is to consider whether a QPushButton with its native auto-repeat features might suit your needs better.
location transform text-to-speech pgp objective-c reboot mongoid device-manager java.util.calendar menu