#!/usr/bin/env python
# -*- coding: iso-8859-15 -*-
# generated by wxGlade 0.6.5 (standalone edition) on Thu Jan 31 15:55:58 2013

from wxPython.wx import *

# begin wxGlade: extracode
# end wxGlade


class MainWindow(wxFrame):
    def __init__(self, *args, **kwds):
        # begin wxGlade: MainWindow.__init__
        kwds["style"] = wxDEFAULT_FRAME_STYLE
        wxFrame.__init__(self, *args, **kwds)
        self.panel_6 = wxPanel(self, -1)
        self.label_5 = wxStaticText(self.panel_6, -1, "Az: 0.00 Degrees")
        self.label_5_copy = wxStaticText(self.panel_6, -1, "Az: 0.00 Degrees")
        self.label_5_copy_1 = wxStaticText(self.panel_6, -1, "Az: 0.00 Degrees")
        self.label_5_copy_2 = wxStaticText(self.panel_6, -1, "Az: 0.00 Degrees")
        self.label_5_copy_3 = wxStaticText(self.panel_6, -1, "Az: 0.00 Degrees")
        self.label_5_copy_4 = wxStaticText(self.panel_6, -1, "Az: 0.00 Degrees")
        self.label_5_copy_5 = wxStaticText(self.panel_6, -1, "Az: 0.00 Degrees")
        self.label_5_copy_6 = wxStaticText(self.panel_6, -1, "Az: 0.00 Degrees")
        self.sizer_8_staticbox = wxStaticBox(self.panel_6, -1, "Status")
        self.panel_1 = wxPanel(self, -1)
        self.sizer_12_staticbox = wxStaticBox(self.panel_1, -1, "Graph")
        self.panel_7 = wxPanel(self, -1)
        self.button_1 = wxButton(self.panel_7, -1, "Stop All")
        self.button_5 = wxButton(self.panel_7, -1, "Stop AZ")
        self.button_2 = wxToggleButton(self.panel_7, -1, "AZ Motor On")
        self.button_4 = wxButton(self.panel_7, -1, "Goto Balloon")
        self.button_6 = wxButton(self.panel_7, -1, "Stop EL")
        self.button_3 = wxToggleButton(self.panel_7, -1, "EL Motor On")
        self.sizer_9_staticbox = wxStaticBox(self.panel_7, -1, "Universal Controls")
        self.notebook_1 = wxNotebook(self, -1, style=0)
        self.notebook_1_pane_1 = wxPanel(self.notebook_1, -1)
        self.text_ctrl_1 = wxTextCtrl(self.notebook_1_pane_1, -1, "")
        self.label_6 = wxStaticText(self.notebook_1_pane_1, -1, "Degrees")
        self.button_17 = wxButton(self.notebook_1_pane_1, -1, "^")
        self.button_16 = wxButton(self.notebook_1_pane_1, -1, "<")
        self.button_15 = wxButton(self.notebook_1_pane_1, -1, ">")
        self.button_18 = wxButton(self.notebook_1_pane_1, -1, "v")
        self.sizer_21_staticbox = wxStaticBox(self.notebook_1_pane_1, -1, "Relative Move")
        self.label_7 = wxStaticText(self.notebook_1_pane_1, -1, "AZ")
        self.text_ctrl_2 = wxTextCtrl(self.notebook_1_pane_1, -1, "")
        self.label_8 = wxStaticText(self.notebook_1_pane_1, -1, "EL")
        self.text_ctrl_3 = wxTextCtrl(self.notebook_1_pane_1, -1, "")
        self.button_19 = wxButton(self.notebook_1_pane_1, -1, "Start Move")
        self.sizer_32_staticbox = wxStaticBox(self.notebook_1_pane_1, -1, "Absolute Move")
        self.label_9 = wxStaticText(self.notebook_1_pane_1, -1, "AZ")
        self.text_ctrl_4 = wxTextCtrl(self.notebook_1_pane_1, -1, "")
        self.label_10 = wxStaticText(self.notebook_1_pane_1, -1, "EL")
        self.text_ctrl_5 = wxTextCtrl(self.notebook_1_pane_1, -1, "")
        self.button_20 = wxButton(self.notebook_1_pane_1, -1, "Calibrate")
        self.sizer_36_staticbox = wxStaticBox(self.notebook_1_pane_1, -1, "Calibrate")
        self.button_21 = wxButton(self.notebook_1_pane_1, -1, "AZ")
        self.button_22 = wxButton(self.notebook_1_pane_1, -1, "EL")
        self.sizer_37_staticbox = wxStaticBox(self.notebook_1_pane_1, -1, "Index")
        self.notebook_1_pane_2 = wxPanel(self.notebook_1, -1)
        self.notebook_1_pane_3 = wxPanel(self.notebook_1, -1)
        self.notebook_1_pane_4 = wxPanel(self.notebook_1, -1)

        self.__set_properties()
        self.__do_layout()
        # end wxGlade

    def __set_properties(self):
        # begin wxGlade: MainWindow.__set_properties
        self.SetTitle("frame_2")
        self.label_5.SetFont(wxFont(12, wxDEFAULT, wxNORMAL, wxNORMAL, 0, "MS Shell Dlg 2"))
        self.label_5_copy.SetFont(wxFont(12, wxDEFAULT, wxNORMAL, wxNORMAL, 0, "MS Shell Dlg 2"))
        self.label_5_copy_1.SetFont(wxFont(12, wxDEFAULT, wxNORMAL, wxNORMAL, 0, "MS Shell Dlg 2"))
        self.label_5_copy_2.SetFont(wxFont(12, wxDEFAULT, wxNORMAL, wxNORMAL, 0, "MS Shell Dlg 2"))
        self.label_5_copy_3.SetFont(wxFont(12, wxDEFAULT, wxNORMAL, wxNORMAL, 0, "MS Shell Dlg 2"))
        self.label_5_copy_4.SetFont(wxFont(12, wxDEFAULT, wxNORMAL, wxNORMAL, 0, "MS Shell Dlg 2"))
        self.label_5_copy_5.SetFont(wxFont(12, wxDEFAULT, wxNORMAL, wxNORMAL, 0, "MS Shell Dlg 2"))
        self.label_5_copy_6.SetFont(wxFont(12, wxDEFAULT, wxNORMAL, wxNORMAL, 0, "MS Shell Dlg 2"))
        self.panel_6.SetToolTipString("Stuff")
        # end wxGlade

    def __do_layout(self):
        # begin wxGlade: MainWindow.__do_layout
        sizer_2 = wxBoxSizer(wxVERTICAL)
        sizer_3 = wxBoxSizer(wxVERTICAL)
        sizer_18 = wxBoxSizer(wxHORIZONTAL)
        sizer_19 = wxBoxSizer(wxVERTICAL)
        sizer_35 = wxBoxSizer(wxHORIZONTAL)
        self.sizer_37_staticbox.Lower()
        sizer_37 = wxStaticBoxSizer(self.sizer_37_staticbox, wxHORIZONTAL)
        sizer_40 = wxBoxSizer(wxHORIZONTAL)
        self.sizer_36_staticbox.Lower()
        sizer_36 = wxStaticBoxSizer(self.sizer_36_staticbox, wxHORIZONTAL)
        sizer_38 = wxBoxSizer(wxVERTICAL)
        sizer_39 = wxBoxSizer(wxHORIZONTAL)
        sizer_20 = wxBoxSizer(wxHORIZONTAL)
        self.sizer_32_staticbox.Lower()
        sizer_32 = wxStaticBoxSizer(self.sizer_32_staticbox, wxHORIZONTAL)
        sizer_33 = wxBoxSizer(wxVERTICAL)
        sizer_34 = wxBoxSizer(wxHORIZONTAL)
        self.sizer_21_staticbox.Lower()
        sizer_21 = wxStaticBoxSizer(self.sizer_21_staticbox, wxHORIZONTAL)
        sizer_23 = wxBoxSizer(wxVERTICAL)
        sizer_26_copy = wxBoxSizer(wxHORIZONTAL)
        sizer_30_copy = wxBoxSizer(wxVERTICAL)
        sizer_31 = wxBoxSizer(wxVERTICAL)
        sizer_27 = wxBoxSizer(wxHORIZONTAL)
        sizer_28 = wxBoxSizer(wxVERTICAL)
        sizer_29 = wxBoxSizer(wxVERTICAL)
        sizer_25 = wxBoxSizer(wxHORIZONTAL)
        sizer_26 = wxBoxSizer(wxHORIZONTAL)
        sizer_30 = wxBoxSizer(wxVERTICAL)
        sizer_24 = wxBoxSizer(wxHORIZONTAL)
        sizer_4 = wxBoxSizer(wxHORIZONTAL)
        self.sizer_9_staticbox.Lower()
        sizer_9 = wxStaticBoxSizer(self.sizer_9_staticbox, wxHORIZONTAL)
        sizer_11 = wxBoxSizer(wxVERTICAL)
        sizer_10 = wxBoxSizer(wxVERTICAL)
        self.sizer_12_staticbox.Lower()
        sizer_12 = wxStaticBoxSizer(self.sizer_12_staticbox, wxHORIZONTAL)
        self.sizer_8_staticbox.Lower()
        sizer_8 = wxStaticBoxSizer(self.sizer_8_staticbox, wxVERTICAL)
        sizer_8.Add(self.label_5, 0, 0, 0)
        sizer_8.Add(self.label_5_copy, 0, 0, 0)
        sizer_8.Add(self.label_5_copy_1, 0, 0, 0)
        sizer_8.Add(self.label_5_copy_2, 0, 0, 0)
        sizer_8.Add(self.label_5_copy_3, 0, 0, 0)
        sizer_8.Add(self.label_5_copy_4, 0, 0, 0)
        sizer_8.Add(self.label_5_copy_5, 0, 0, 0)
        sizer_8.Add(self.label_5_copy_6, 0, 0, 0)
        self.panel_6.SetSizer(sizer_8)
        sizer_4.Add(self.panel_6, 1, wxEXPAND, 0)
        self.panel_1.SetSizer(sizer_12)
        sizer_4.Add(self.panel_1, 1, wxEXPAND, 0)
        sizer_10.Add(self.button_1, 0, wxALIGN_CENTER_HORIZONTAL, 0)
        sizer_10.Add(self.button_5, 0, wxALIGN_CENTER_HORIZONTAL, 0)
        sizer_10.Add(self.button_2, 0, wxALIGN_CENTER_HORIZONTAL, 0)
        sizer_9.Add(sizer_10, 1, wxEXPAND, 0)
        sizer_11.Add(self.button_4, 0, wxALIGN_CENTER_HORIZONTAL, 0)
        sizer_11.Add(self.button_6, 0, wxALIGN_CENTER_HORIZONTAL, 0)
        sizer_11.Add(self.button_3, 0, wxALIGN_CENTER_HORIZONTAL, 0)
        sizer_9.Add(sizer_11, 1, wxEXPAND, 0)
        self.panel_7.SetSizer(sizer_9)
        sizer_4.Add(self.panel_7, 1, wxEXPAND, 0)
        sizer_3.Add(sizer_4, 1, wxEXPAND, 0)
        sizer_24.Add(self.text_ctrl_1, 0, 0, 0)
        sizer_24.Add(self.label_6, 0, 0, 0)
        sizer_23.Add(sizer_24, 1, wxEXPAND, 0)
        sizer_30.Add(self.button_17, 0, 0, 0)
        sizer_26.Add(sizer_30, 1, wxEXPAND, 0)
        sizer_25.Add(sizer_26, 1, wxEXPAND, 0)
        sizer_23.Add(sizer_25, 1, wxALIGN_CENTER_HORIZONTAL, 0)
        sizer_29.Add(self.button_16, 0, 0, 0)
        sizer_27.Add(sizer_29, 1, wxEXPAND, 0)
        sizer_28.Add(self.button_15, 0, wxALIGN_RIGHT, 0)
        sizer_27.Add(sizer_28, 1, wxEXPAND, 0)
        sizer_23.Add(sizer_27, 1, wxEXPAND, 0)
        sizer_31.Add(self.button_18, 0, 0, 0)
        sizer_30_copy.Add(sizer_31, 1, wxEXPAND, 0)
        sizer_26_copy.Add(sizer_30_copy, 1, wxEXPAND, 0)
        sizer_23.Add(sizer_26_copy, 1, wxALIGN_CENTER_HORIZONTAL, 0)
        sizer_21.Add(sizer_23, 1, wxEXPAND, 0)
        sizer_20.Add(sizer_21, 1, wxEXPAND, 0)
        sizer_34.Add(self.label_7, 0, 0, 0)
        sizer_34.Add(self.text_ctrl_2, 0, 0, 0)
        sizer_34.Add(self.label_8, 0, 0, 0)
        sizer_34.Add(self.text_ctrl_3, 0, 0, 0)
        sizer_33.Add(sizer_34, 1, wxEXPAND, 0)
        sizer_33.Add(self.button_19, 0, 0, 0)
        sizer_32.Add(sizer_33, 1, wxEXPAND, 0)
        sizer_20.Add(sizer_32, 1, wxEXPAND, 0)
        sizer_19.Add(sizer_20, 1, wxEXPAND, 0)
        sizer_39.Add(self.label_9, 0, 0, 0)
        sizer_39.Add(self.text_ctrl_4, 0, 0, 0)
        sizer_39.Add(self.label_10, 0, 0, 0)
        sizer_39.Add(self.text_ctrl_5, 0, 0, 0)
        sizer_38.Add(sizer_39, 1, wxEXPAND, 0)
        sizer_38.Add(self.button_20, 0, 0, 0)
        sizer_36.Add(sizer_38, 1, wxEXPAND, 0)
        sizer_35.Add(sizer_36, 1, wxEXPAND, 0)
        sizer_40.Add(self.button_21, 0, 0, 0)
        sizer_40.Add(self.button_22, 0, 0, 0)
        sizer_37.Add(sizer_40, 1, wxEXPAND, 0)
        sizer_35.Add(sizer_37, 1, wxEXPAND, 0)
        sizer_19.Add(sizer_35, 1, wxEXPAND, 0)
        self.notebook_1_pane_1.SetSizer(sizer_19)
        self.notebook_1_pane_2.SetSizer(sizer_18)
        self.notebook_1.AddPage(self.notebook_1_pane_1, "Joy Stick")
        self.notebook_1.AddPage(self.notebook_1_pane_2, "RA/DEC")
        self.notebook_1.AddPage(self.notebook_1_pane_3, "Scanning ")
        self.notebook_1.AddPage(self.notebook_1_pane_4, "Options")
        sizer_3.Add(self.notebook_1, 1, wxEXPAND, 0)
        sizer_2.Add(sizer_3, 1, wxEXPAND, 0)
        self.SetSizer(sizer_2)
        sizer_2.Fit(self)
        self.Layout()
        # end wxGlade

# end of class MainWindow
if __name__ == "__main__":
    app = wxPySimpleApp(0)
    wxInitAllImageHandlers()
    frame_1 = MainWindow(None, -1, "")
    app.SetTopWindow(frame_1)
    frame_1.Show()
    app.MainLoop()
