<reponame>vespa-mrs/vespa
# -*- coding: UTF-8 -*-
#
# generated by wxGlade 1.0.0 on Fri Jan 22 22:56:32 2021
#

import wx

# begin wxGlade: dependencies
# end wxGlade

# begin wxGlade: extracode
# end wxGlade


class MyDialog(wx.Dialog):
    def __init__(self, *args, **kwds):
        # begin wxGlade: MyDialog.__init__
        kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER
        wx.Dialog.__init__(self, *args, **kwds)
        self.SetTitle("dialog_1")

        sizer_1 = wx.BoxSizer(wx.VERTICAL)

        self.LabelMessage = wx.StaticText(self, wx.ID_ANY, "Message text goes here")
        sizer_1.Add(self.LabelMessage, 0, wx.ALL | wx.EXPAND, 10)

        sizer_3 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_1.Add(sizer_3, 1, wx.EXPAND, 0)

        sizer_5 = wx.StaticBoxSizer(wx.StaticBox(self, wx.ID_ANY, "Details"), wx.VERTICAL)
        sizer_3.Add(sizer_5, 1, wx.ALL | wx.EXPAND, 10)

        sizer_4 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_5.Add(sizer_4, 0, wx.EXPAND, 0)

        self.CopyDetails = wx.Button(self, wx.ID_ANY, "Copy Details to Clipboard")
        sizer_4.Add(self.CopyDetails, 0, wx.BOTTOM, 10)

        self.CheckboxOpenEmail = wx.CheckBox(self, wx.ID_ANY, "Open a new email on copy")
        sizer_4.Add(self.CheckboxOpenEmail, 0, wx.LEFT, 10)

        self.TextDetails = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.HSCROLL | wx.TE_MULTILINE | wx.TE_READONLY)
        sizer_5.Add(self.TextDetails, 1, wx.EXPAND, 0)

        sizer_6 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_1.Add(sizer_6, 0, wx.BOTTOM | wx.EXPAND | wx.LEFT | wx.RIGHT, 10)

        sizer_6.Add((20, 20), 1, wx.EXPAND, 0)

        self.ButtonDone = wx.Button(self, wx.ID_CANCEL, "Done")
        sizer_6.Add(self.ButtonDone, 0, wx.EXPAND, 0)

        sizer_6.Add((20, 20), 1, wx.EXPAND, 0)

        self.SetSizer(sizer_1)
        sizer_1.Fit(self)

        self.Layout()

        self.Bind(wx.EVT_BUTTON, self.on_copy, self.CopyDetails)
        # end wxGlade

    def on_copy(self, event):  # wxGlade: MyDialog.<event_handler>
        print("Event handler 'on_copy' not implemented!")
        event.Skip()

# end of class MyDialog

# -*- coding: UTF-8 -*-
#
# generated by wxGlade 1.0.0 on Fri Jan 22 22:56:32 2021
#

import wx

# begin wxGlade: dependencies
# end wxGlade

# begin wxGlade: extracode
# end wxGlade


class MyDialog(wx.Dialog):
    def __init__(self, *args, **kwds):
        # begin wxGlade: MyDialog.__init__
        kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER
        wx.Dialog.__init__(self, *args, **kwds)
        self.SetTitle("dialog_1")

        sizer_1 = wx.BoxSizer(wx.VERTICAL)

        self.LabelMessage = wx.StaticText(self, wx.ID_ANY, "Message text goes here")
        sizer_1.Add(self.LabelMessage, 0, wx.ALL | wx.EXPAND, 10)

        sizer_3 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_1.Add(sizer_3, 1, wx.EXPAND, 0)

        sizer_5 = wx.StaticBoxSizer(wx.StaticBox(self, wx.ID_ANY, "Details"), wx.VERTICAL)
        sizer_3.Add(sizer_5, 1, wx.ALL | wx.EXPAND, 10)

        sizer_4 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_5.Add(sizer_4, 0, wx.EXPAND, 0)

        self.CopyDetails = wx.Button(self, wx.ID_ANY, "Copy Details to Clipboard")
        sizer_4.Add(self.CopyDetails, 0, wx.BOTTOM, 10)

        self.CheckboxOpenEmail = wx.CheckBox(self, wx.ID_ANY, "Open a new email on copy")
        sizer_4.Add(self.CheckboxOpenEmail, 0, wx.LEFT, 10)

        self.TextDetails = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.HSCROLL | wx.TE_MULTILINE | wx.TE_READONLY)
        sizer_5.Add(self.TextDetails, 1, wx.EXPAND, 0)

        sizer_6 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_1.Add(sizer_6, 0, wx.BOTTOM | wx.EXPAND | wx.LEFT | wx.RIGHT, 10)

        sizer_6.Add((20, 20), 1, wx.EXPAND, 0)

        self.ButtonDone = wx.Button(self, wx.ID_CANCEL, "Done")
        sizer_6.Add(self.ButtonDone, 0, wx.EXPAND, 0)

        sizer_6.Add((20, 20), 1, wx.EXPAND, 0)

        self.SetSizer(sizer_1)
        sizer_1.Fit(self)

        self.Layout()

        self.Bind(wx.EVT_BUTTON, self.on_copy, self.CopyDetails)
        # end wxGlade

    def on_copy(self, event):  # wxGlade: MyDialog.<event_handler>
        print("Event handler 'on_copy' not implemented!")
        event.Skip()

# end of class MyDialog
# -*- coding: UTF-8 -*- # # generated by wxGlade 1.0.0 on Fri Jan 22 22:56:32 2021 # # begin wxGlade: dependencies # end wxGlade # begin wxGlade: extracode # end wxGlade # begin wxGlade: MyDialog.__init__ # end wxGlade # wxGlade: MyDialog.<event_handler> # end of class MyDialog