forked from MitjaNemec/ReplicateLayout
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror_dialog_GUI.py
More file actions
70 lines (41 loc) · 2.56 KB
/
error_dialog_GUI.py
File metadata and controls
70 lines (41 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*- coding: utf-8 -*-
###########################################################################
## Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
###########################################################################
import wx
import wx.xrc
import wx.adv
###########################################################################
## Class ErrorDialogGUI
###########################################################################
class ErrorDialogGUI ( wx.Dialog ):
def __init__( self, parent ):
wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Replicate Layout", pos = wx.DefaultPosition, size = wx.Size( 458,212 ), style = wx.DEFAULT_DIALOG_STYLE )
self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
bSizer1 = wx.BoxSizer( wx.VERTICAL )
self.m_staticText1 = wx.StaticText( self, wx.ID_ANY, u"Fatal error when restoring layout. You can raise an issue on GiHub page. + \"Please attach the save_restore_layout.log which you should find in the project folder.", wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_staticText1.Wrap( -1 )
bSizer1.Add( self.m_staticText1, 0, wx.ALL, 5 )
self.m_staticText3 = wx.StaticText( self, wx.ID_ANY, u"You can raise an issue on GiHub page.", wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_staticText3.Wrap( -1 )
bSizer1.Add( self.m_staticText3, 0, wx.ALL, 5 )
self.m_hyperlink1 = wx.adv.HyperlinkCtrl( self, wx.ID_ANY, u"https://github.com/MitjaNemec/ReplicateLayout", u"https://github.com/MitjaNemec/ReplicateLayout", wx.DefaultPosition, wx.DefaultSize, wx.adv.HL_DEFAULT_STYLE )
bSizer1.Add( self.m_hyperlink1, 0, wx.ALL, 5 )
self.m_staticText4 = wx.StaticText( self, wx.ID_ANY, u"Please attach the save_restore_layout.log which you should find in the project folder.", wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_staticText4.Wrap( -1 )
self.m_staticText4.SetMinSize( wx.Size( -1,40 ) )
bSizer1.Add( self.m_staticText4, 0, wx.ALL, 5 )
bSizer3 = wx.BoxSizer( wx.HORIZONTAL )
bSizer3.Add( ( 0, 0), 1, wx.EXPAND, 5 )
self.btn_ok = wx.Button( self, wx.ID_OK, u"Ok", wx.DefaultPosition, wx.DefaultSize, 0 )
bSizer3.Add( self.btn_ok, 0, wx.ALL, 5 )
bSizer3.Add( ( 0, 0), 1, wx.EXPAND, 5 )
bSizer1.Add( bSizer3, 1, wx.EXPAND, 5 )
self.SetSizer( bSizer1 )
self.Layout()
self.Centre( wx.BOTH )
def __del__( self ):
pass