Home
last modified time | relevance | path

Searched refs:action1 (Results 1 – 25 of 730) sorted by relevance

12345678910>>...30

/dports/graphics/qgis/qgis-3.22.3/tests/src/python/
H A Dtest_qgsshortcutsmanager.py59 action1 = QAction('action', None)
60 s1.registerAction(action1)
61 s1.setKeySequence(action1, 'B')
86 action1.setShortcut('x')
154 action1 = QAction('action1', w)
203 action1.setShortcut('x')
214 s.registerAction(action1)
246 s.registerAction(action1)
274 s.registerAction(action1, 'C')
438 s.registerAction(action1)
[all …]
H A Dtest_qgsattributeeditoraction.py51 …cls.action1 = QgsAction(cls.action_id1, QgsAction.GenericPython, 'Test Action 1 Desc', 'i=1', '', …
54 cls.layer.actions().addAction(cls.action1)
66 editor_action = QgsAttributeEditorAction(self.action1, parent)
68 self.assertEqual(editor_action.action(self.layer).id(), self.action1.id())
71 editor_action = QgsAttributeEditorAction(self.action1.id(), parent)
73 self.assertEqual(editor_action.action(self.layer).id(), self.action1.id())
78 editor_action = QgsAttributeEditorAction(self.action1, parent)
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/python/
H A Dtest_qgsshortcutsmanager.py59 action1 = QAction('action', None)
60 s1.registerAction(action1)
61 s1.setKeySequence(action1, 'B')
86 action1.setShortcut('x')
154 action1 = QAction('action1', w)
203 action1.setShortcut('x')
214 s.registerAction(action1)
246 s.registerAction(action1)
274 s.registerAction(action1, 'C')
438 s.registerAction(action1)
[all …]
/dports/graphics/ksnip/ksnip-1.9.2/tests/gui/actions/
H A DActionTest.cpp41 Action action1; in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch() local
42 action1.setName("Name"); in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch()
44 action1.setIsCaptureEnabled(true); in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch()
45 action1.setIncludeCursor(true); in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch()
46 action1.setCaptureDelay(2000); in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch()
48 action1.setIsSaveEnabled(true); in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch()
50 action1.setIsUploadEnabled(true); in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch()
51 action1.setIsOpenDirectoryEnabled(true); in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch()
52 action1.setIsPinScreenshotEnabled(true); in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch()
53 action1.setIsHideMainWindowEnabled(true); in EqualsOperator_Should_ReturnTrue_When_AllValuesMatch()
[all …]
/dports/net/tigervnc-server/tigervnc-1.12.0/vncviewer/
H A DEmulateMB.cxx205 int action1, action2; in filterPointerEvent() local
228 action1 = stateTab[state][btstate][0]; in filterPointerEvent()
230 if (action1 != 0) { in filterPointerEvent()
234 if ((stateTab[state][4][2] >= 0) && action1 > 0) in filterPointerEvent()
238 sendAction(origPos, buttonMask, action1); in filterPointerEvent()
241 sendAction(pos, buttonMask, action1); in filterPointerEvent()
260 if ((action1 == 0) && (action2 == 0) && !timer.isStarted()) { in filterPointerEvent()
282 int action1, action2; in handleTimeout() local
294 action1 = stateTab[state][4][0]; in handleTimeout()
295 if (action1 != 0) in handleTimeout()
[all …]
/dports/net/tigervnc-viewer/tigervnc-1.12.0/vncviewer/
H A DEmulateMB.cxx205 int action1, action2; in filterPointerEvent() local
228 action1 = stateTab[state][btstate][0]; in filterPointerEvent()
230 if (action1 != 0) { in filterPointerEvent()
234 if ((stateTab[state][4][2] >= 0) && action1 > 0) in filterPointerEvent()
238 sendAction(origPos, buttonMask, action1); in filterPointerEvent()
241 sendAction(pos, buttonMask, action1); in filterPointerEvent()
260 if ((action1 == 0) && (action2 == 0) && !timer.isStarted()) { in filterPointerEvent()
282 int action1, action2; in handleTimeout() local
294 action1 = stateTab[state][4][0]; in handleTimeout()
295 if (action1 != 0) in handleTimeout()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Threading.Tasks.Dataflow/Test/System.Threading.Tasks.Dataflow/
H A DChooseTest.cs41 bool action1 = false; in BasicTest()
51 Assert.IsTrue (action1); in BasicTest()
61 int action1 = 0; in OnlyOneConsumedTest()
64 source1, _ => action1++, in OnlyOneConsumedTest()
72 Assert.AreEqual (1, action1); in OnlyOneConsumedTest()
86 int action1 = 0; in RaceTest()
89 source1, _ => action1++, in RaceTest()
161 int action1 = 0; in ConsumeToAcceptTest()
164 source1, i => action1 = i, in ConsumeToAcceptTest()
200 bool action1 = false; in BasicTest_3()
[all …]
/dports/x11-toolkits/kf5-kxmlgui/kxmlgui-5.89.0/autotests/
H A Dkactioncategorytest.cpp48 QCOMPARE(category1.actions().count(action1), 1); in tstSynchronization()
51 QCOMPARE(collection.actions().count(action1), 1); in tstSynchronization()
56 QCOMPARE(category1.actions().count(action1), 1); in tstSynchronization()
58 QCOMPARE(collection.actions().count(action1), 1); in tstSynchronization()
70 delete action1; in tstSynchronization()
73 QCOMPARE(collection.actions().count(action1), 0); in tstSynchronization()
76 QCOMPARE(category1.actions().count(action1), 0); in tstSynchronization()
105 QAction *action1 = new QAction(nullptr); in tstActionCreation() local
107 QCOMPARE(category.actions().count(action1), 1); in tstActionCreation()
108 QCOMPARE(collection.actions().count(action1), 1); in tstActionCreation()
[all …]
/dports/textproc/p5-JavaScript-Minifier/JavaScript-Minifier-1.16/lib/JavaScript/
H A DMinifier.pm92 sub action1 { subroutine
139 action1($s);
142 action1($s);
143 action1($s);
151 action1($s);
189 action1($s);
317 action1($s);
336 action1($s);
343 action1($s);
351 action1($s);
[all …]
/dports/science/hdf5/hdf5-1.10.6/hl/tools/h5watch/
H A Dextend_dset.c155 cbuf[i].field1 = action1; in extend_dset_two()
156 cbuf[i].field2.a = action1; in extend_dset_two()
157 cbuf[i].field2.c = action1; in extend_dset_two()
158 cbuf[i].field2.b.a = action1; in extend_dset_two()
159 cbuf[i].field2.b.b = action1; in extend_dset_two()
161 cbuf[i].field3 = action1; in extend_dset_two()
162 cbuf[i].field4.a = action1; in extend_dset_two()
163 cbuf[i].field4.b = action1; in extend_dset_two()
173 ibuf[i] = action1; in extend_dset_two()
386 int action1, action2; in main() local
[all …]
/dports/devel/py-pyface/pyface-7.2.0/pyface/tasks/tests/
H A Dtest_action_manager_builder.py97 GroupSchema(self.action1, self.action2, id="FileGroup"),
125 self.action1,
142 GroupSchema(self.action1, id="FileGroup"), id="FileMenu"
183 GroupSchema(self.action1, id="FileGroup"),
214 Group(self.action1, self.action2, id="FileGroup"),
229 GroupSchema(self.action1, id="FileGroup"), name="File 1"
256 Group(self.action1, id="FileGroup"),
352 GroupSchema(self.action1, self.action2, id="FileGroup"),
382 self.action1,
398 GroupSchema(self.action1, self.action2, id="FileGroup"),
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/workbenchpart/
H A DDynamicItem.java33 private Action action1; field in DynamicItem
48 action1 = new Action() { in makeActions()
54 action1.setText("Dynamic Item 1"); in makeActions()
55 action1.setToolTipText("Dynamic Item 1 tooltip"); in makeActions()
56 action1.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages() in makeActions()
73 return new IContributionItem[] { new ActionContributionItem(action1), in getContributionItems()
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qactiongroup/
H A Dtst_qactiongroup.cpp269 QAction action1("Action 1", this); in testActionInTwoQActionGroup() local
274 group1.addAction(&action1); in testActionInTwoQActionGroup()
275 group2.addAction(&action1); in testActionInTwoQActionGroup()
277 QCOMPARE(action1.actionGroup(), &group2); in testActionInTwoQActionGroup()
285 QAction action1(&group) ,action2(&group); in unCheckCurrentAction() local
286 action1.setCheckable(true); in unCheckCurrentAction()
288 QVERIFY(!action1.isChecked()); in unCheckCurrentAction()
290 action1.setChecked(true); in unCheckCurrentAction()
291 QVERIFY(action1.isChecked()); in unCheckCurrentAction()
294 QCOMPARE(current, &action1); in unCheckCurrentAction()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Primitives/tests/
H A DEventHandlerListTests.cs16 Action action1 = () => Assert.True(false); in AddHandler_RemoveHandler_Roundtrips()
20 list.AddHandler("key1", action1); in AddHandler_RemoveHandler_Roundtrips()
21 Assert.Same(action1, list["key1"]); in AddHandler_RemoveHandler_Roundtrips()
26 Assert.Same(action1, list["key1"]); in AddHandler_RemoveHandler_Roundtrips()
30 list.RemoveHandler("key1", action1); in AddHandler_RemoveHandler_Roundtrips()
106 Action action1 = () => Assert.True(false); in Dispose_ClearsList()
113 list.AddHandler("key1", action1); in Dispose_ClearsList()
115 Assert.Same(action1, list["key1"]); in Dispose_ClearsList()
/dports/sysutils/py-hcloud/hcloud-1.16.0/tests/unit/actions/
H A Dtest_client.py81 action1 = actions[0]
84 assert action1._client is actions_client
85 assert action1.id == 1
86 assert action1.command == "start_server"
105 action1 = actions[0]
108 assert action1._client is actions_client
109 assert action1.id == 1
110 assert action1.command == "start_server"
/dports/multimedia/pitivi/pitivi-0.999/tests/
H A Dtest_undo.py50 action1 = Action()
52 stack.push(action1)
66 action1 = mock.Mock(spec=UndoableAction)
67 action1.expand.return_value = False
72 stack.push(action1)
211 action1 = mock.Mock()
217 action1.do.assert_called_once_with()
289 action1 = mock.Mock(spec=UndoableAction)
290 action1.expand.return_value = False
291 self.log.push(action1)
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/examples/org.eclipse.ui.examples.readmetool/Eclipse UI Examples Readme Tool/org/eclipse/ui/examples/readmetool/
H A DReadmeEditorActionBarContributor.java41 private EditorAction action1; field in ReadmeEditorActionBarContributor
88 action1 = new EditorAction(MessageUtil.getString("Editor_Action1")); //$NON-NLS-1$ in ReadmeEditorActionBarContributor()
89 action1.setToolTipText(MessageUtil.getString("Readme_Editor_Action1")); //$NON-NLS-1$ in ReadmeEditorActionBarContributor()
90 action1.setDisabledImageDescriptor(ReadmeImages.EDITOR_ACTION1_IMAGE_DISABLE); in ReadmeEditorActionBarContributor()
91 action1.setImageDescriptor(ReadmeImages.EDITOR_ACTION1_IMAGE_ENABLE); in ReadmeEditorActionBarContributor()
92 action1.setHoverImageDescriptor(ReadmeImages.EDITOR_ACTION1_IMAGE); in ReadmeEditorActionBarContributor()
93 …PlatformUI.getWorkbench().getHelpSystem().setHelp(action1, IReadmeConstants.EDITOR_ACTION1_CONTEXT… in ReadmeEditorActionBarContributor()
132 readmeMenu.add(action1); in contributeToMenu()
153 toolBarManager.add(action1); in contributeToToolBar()
189 action1.setActiveEditor(editor); in setActiveEditor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.build/org.eclipse.pde.build.tests/resources/309572/plugins/test.flex.root/src/my/view/views/
H A DSampleView.java41 private Action action1; field in SampleView
124 manager.add(action1); in fillLocalPullDown()
130 manager.add(action1); in fillContextMenu()
137 manager.add(action1); in fillLocalToolBar()
142 action1 = new Action() { in makeActions()
147 action1.setText("Action 1"); in makeActions()
148 action1.setToolTipText("Action 1 tooltip"); in makeActions()
149 action1.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages(). in makeActions()
/dports/textproc/p5-CSS-Minifier/CSS-Minifier-0.01/lib/CSS/
H A DMinifier.pm84 sub action1 { subroutine
110 action1($s);
113 action1($s);
114 action1($s);
116 action1($s);
153 action1($s); # print the whitespace character
250 action1($s);
254 action1($s);
/dports/audio/pms-devel/pms-c94e3c6/vendor/github.com/mschoch/smat/
H A Dactionseq_test.go24 action1: action1Action,
35 action1,
37 action1,
44 action1,
74 action1,
76 action1,
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/rangecoder/
H A Drange_decoder.h136 #define rc_bit_last(prob, action0, action1, seq) \ argument
143 action1; \
150 #define rc_bit(prob, action0, action1, seq) \ argument
153 symbol = (symbol << 1) + 1; action1, \
162 #define rc_bit_case(prob, action0, action1, seq) \ argument
163 case seq: rc_bit(prob, action0, action1, seq)
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/rangecoder/
H A Drange_decoder.h136 #define rc_bit_last(prob, action0, action1, seq) \ argument
143 action1; \
150 #define rc_bit(prob, action0, action1, seq) \ argument
153 symbol = (symbol << 1) + 1; action1, \
162 #define rc_bit_case(prob, action0, action1, seq) \ argument
163 case seq: rc_bit(prob, action0, action1, seq)
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/rangecoder/
H A Drange_decoder.h136 #define rc_bit_last(prob, action0, action1, seq) \ argument
143 action1; \
150 #define rc_bit(prob, action0, action1, seq) \ argument
153 symbol = (symbol << 1) + 1; action1, \
162 #define rc_bit_case(prob, action0, action1, seq) \ argument
163 case seq: rc_bit(prob, action0, action1, seq)
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/rangecoder/
H A Drange_decoder.h136 #define rc_bit_last(prob, action0, action1, seq) \ argument
143 action1; \
150 #define rc_bit(prob, action0, action1, seq) \ argument
153 symbol = (symbol << 1) + 1; action1, \
162 #define rc_bit_case(prob, action0, action1, seq) \ argument
163 case seq: rc_bit(prob, action0, action1, seq)
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/rangecoder/
H A Drange_decoder.h136 #define rc_bit_last(prob, action0, action1, seq) \ argument
143 action1; \
150 #define rc_bit(prob, action0, action1, seq) \ argument
153 symbol = (symbol << 1) + 1; action1, \
162 #define rc_bit_case(prob, action0, action1, seq) \ argument
163 case seq: rc_bit(prob, action0, action1, seq)

12345678910>>...30