You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Hide / Show tutorial dialog based on if the position widget has valid coordinates
334
+
# When a dock is invisible, the widgets inside are located in negative coordinate space.
335
+
ifx<0ory<0:
336
+
self.hide_dialog()
337
+
else:
338
+
self.re_show_dialog()
339
+
340
+
# Move tutorial widget to the correct position
341
+
self.dock.move(QPoint(x, y))
295
342
296
343
def__init__(self, win):
297
344
""" Constructor """
@@ -311,56 +358,63 @@ def __init__(self, win):
311
358
# Add all possible tutorials
312
359
self.tutorial_objects= [
313
360
{"id": "0",
314
-
"x": 400,
361
+
"x": 0,
315
362
"y": 0,
316
-
"object_id": "filesView",
363
+
"object_id": "dockVideo",
317
364
"text": _("<b>Welcome!</b> OpenShot Video Editor is an award-winning, open-source video editing application! This tutorial will walk you through the basics.<br><br>Would you like to automatically send errors and metrics to help improve OpenShot?"),
318
365
"arrow": False
319
366
},
320
367
{"id": "1",
321
-
"x": 20,
368
+
"x": 0,
322
369
"y": 0,
323
370
"object_id": "filesView",
324
371
"text": _("<b>Project Files:</b> Get started with your project by adding video, audio, and image files here. Drag and drop files from your file system."),
325
372
"arrow": True
326
373
},
327
374
{"id": "2",
328
-
"x": 200,
329
-
"y": -15,
375
+
"x": 0,
376
+
"y": 0,
330
377
"object_id": "timeline",
331
378
"text": _("<b>Timeline:</b> Arrange your clips on the timeline here. Overlap clips to create automatic transitions. Access lots of fun presets and options by right-clicking on clips."),
332
379
"arrow": True
333
380
},
334
381
{"id": "3",
335
-
"x": 200,
336
-
"y": 100,
337
-
"object_id": "dockVideoContents",
382
+
"x": 10,
383
+
"y": -27,
384
+
"object_id": "actionPlay",
338
385
"text": _("<b>Video Preview:</b> Watch your timeline video preview here. Use the buttons (play, rewind, fast-forward) to control the video playback."),
339
386
"arrow": True},
340
387
{"id": "4",
341
-
"x": 20,
342
-
"y": -35,
388
+
"x": 0,
389
+
"y": 0,
343
390
"object_id": "propertyTableView",
344
391
"text": _("<b>Properties:</b> View and change advanced properties of clips and effects here. Right-clicking on clips is usually faster than manually changing properties."),
345
392
"arrow": True
346
393
},
347
394
{"id": "5",
348
-
"x": 20,
349
-
"y": 10,
395
+
"x": 0,
396
+
"y": 0,
350
397
"object_id": "transitionsView",
351
398
"text": _("<b>Transitions:</b> Create a gradual fade from one clip to another. Drag and drop a transition onto the timeline and position it on top of a clip (usually at the beginning or ending)."),
352
399
"arrow": True
353
400
},
354
401
{"id": "6",
355
-
"x": 20,
356
-
"y": 20,
402
+
"x": 0,
403
+
"y": 0,
357
404
"object_id": "effectsView",
358
405
"text": _("<b>Effects:</b> Adjust brightness, contrast, saturation, and add exciting special effects. Drag and drop an effect onto the timeline and position it on top of a clip (or track)"),
359
406
"arrow": True
360
407
},
408
+
{"id": "8",
409
+
"x": 0,
410
+
"y": 0,
411
+
"object_id": "emojisView",
412
+
"text": _("<b>Emojis:</b> Add exciting and colorful emojis to your project! Drag and drop an emoji onto the timeline. The emoji will become a new Clip when dropped on the Timeline."),
413
+
"arrow": True
414
+
},
361
415
{"id": "7",
362
-
"x": -265,
363
-
"y": -22,
416
+
"x": 10,
417
+
"y": -27,
364
418
"object_id": "export_button",
365
419
"text": _("<b>Export Video:</b> When you are ready to create your finished video, click this button to export your timeline as a single video file."),
0 commit comments