forked from qt-creator/qt-creator
Squish: Remove outdated code
Change-Id: Ic4c3cf43aed15756aaeaa4a5e7ed5240bed2545c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -182,7 +182,6 @@
|
|||||||
:Select a Git Commit.workingDirectoryEdit_QLineEdit {type='Utils::FancyLineEdit' unnamed='1' visible='1' window=':Select a Git Commit_Git::Internal::ChangeSelectionDialog'}
|
:Select a Git Commit.workingDirectoryEdit_QLineEdit {type='Utils::FancyLineEdit' unnamed='1' visible='1' window=':Select a Git Commit_Git::Internal::ChangeSelectionDialog'}
|
||||||
:Select a Git Commit_Git::Internal::ChangeSelectionDialog {name='Git__Internal__ChangeSelectionDialog' type='Git::Internal::ChangeSelectionDialog' visible='1' windowTitle='Select a Git Commit'}
|
:Select a Git Commit_Git::Internal::ChangeSelectionDialog {name='Git__Internal__ChangeSelectionDialog' type='Git::Internal::ChangeSelectionDialog' visible='1' windowTitle='Select a Git Commit'}
|
||||||
:Select signal.signalList_QTreeView {container=':Go to slot.Select signal_QGroupBox' name='signalList' type='QTreeView' visible='1'}
|
:Select signal.signalList_QTreeView {container=':Go to slot.Select signal_QGroupBox' name='signalList' type='QTreeView' visible='1'}
|
||||||
:Select signal.signalList_QTreeWidget {container=':Go to slot.Select signal_QGroupBox' name='signalList' type='QTreeWidget' visible='1'}
|
|
||||||
:Send to Codepaster.Cancel_QPushButton {text='Cancel' type='QPushButton' unnamed='1' visible='1' window=':Send to Codepaster_CodePaster::PasteView'}
|
:Send to Codepaster.Cancel_QPushButton {text='Cancel' type='QPushButton' unnamed='1' visible='1' window=':Send to Codepaster_CodePaster::PasteView'}
|
||||||
:Send to Codepaster.Description:_QLabel {name='descriptionLabel' text='Description:' type='QLabel' visible='1' window=':Send to Codepaster_CodePaster::PasteView'}
|
:Send to Codepaster.Description:_QLabel {name='descriptionLabel' text='Description:' type='QLabel' visible='1' window=':Send to Codepaster_CodePaster::PasteView'}
|
||||||
:Send to Codepaster.Paste_QPushButton {text='Paste' type='QPushButton' unnamed='1' visible='1' window=':Send to Codepaster_CodePaster::PasteView'}
|
:Send to Codepaster.Paste_QPushButton {text='Paste' type='QPushButton' unnamed='1' visible='1' window=':Send to Codepaster_CodePaster::PasteView'}
|
||||||
|
@@ -50,14 +50,8 @@ def main():
|
|||||||
waitFor("macHackActivateContextMenuItem('Go to slot...', con[0])", 6000)
|
waitFor("macHackActivateContextMenuItem('Go to slot...', con[0])", 6000)
|
||||||
else:
|
else:
|
||||||
activateItem(waitForObjectItem("{type='QMenu' unnamed='1' visible='1'}", "Go to slot..."))
|
activateItem(waitForObjectItem("{type='QMenu' unnamed='1' visible='1'}", "Go to slot..."))
|
||||||
try:
|
signalWidgetObject = waitForObject(":Select signal.signalList_QTreeView")
|
||||||
# Creator built with Qt <= 5.9
|
signalName = con[1] + "." + con[2]
|
||||||
signalWidgetObject = waitForObject(":Select signal.signalList_QTreeWidget", 5000)
|
|
||||||
signalName = con[2]
|
|
||||||
except:
|
|
||||||
# Creator built with Qt >= 5.10
|
|
||||||
signalWidgetObject = waitForObject(":Select signal.signalList_QTreeView")
|
|
||||||
signalName = con[1] + "." + con[2]
|
|
||||||
waitForObjectItem(signalWidgetObject, signalName)
|
waitForObjectItem(signalWidgetObject, signalName)
|
||||||
clickItem(signalWidgetObject, signalName, 5, 5, 0, Qt.LeftButton)
|
clickItem(signalWidgetObject, signalName, 5, 5, 0, Qt.LeftButton)
|
||||||
clickButton(waitForObject(":Go to slot.OK_QPushButton"))
|
clickButton(waitForObject(":Go to slot.OK_QPushButton"))
|
||||||
|
Reference in New Issue
Block a user