Skip to content

Instantly share code, notes, and snippets.

View JoelNiemela's full-sized avatar

Joel Niemelä JoelNiemela

View GitHub Profile
@robmccormack
robmccormack / mrm_example_dialogs.py
Last active February 12, 2024 10:54
Examples of using custom dialogs and messages in Sublime Text 2
import sublime
import sublime_plugin
'''
__ __ __ __
| \/ |_ _| \/ |
| |\/| | '_| |\/| |_
|_| |_|_| |_| |_(_)
Project: Examples of using custom dialog and messages in Sublime 2
@justinfx
justinfx / docking_dockables.py
Created March 25, 2013 22:24
Playing around with QMainWindow's nested within each other as dock widgets. The main app window has a couple dock widgets added to each of the 4 dock locations around the central widget. These dock widgets are QMainWindows. When enabled, each dock widget will have its own dock widgets populated that can do their own private docking within that c…
#!/usr/bin/env python
"""
Playing around with QMainWindow's nested within each other
as dock widgets.
"""
from random import randint
try: