~launchpad-p-s/sofastatistics/main

« back to all changes in this revision

Viewing changes to start.py

  • Committer: Grant Paton-Simpson
  • Date: 2009-05-22 09:17:43 UTC
  • Revision ID: g@ubuntu-20090522091743-c3pv1cgm110eekgf
Fixed raw table first column display, fixed item config on freq tables, changed misc text.

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
        img_stats = wx.Image(os.path.join(SCRIPT_PATH, "images", "stats.xpm"), 
237
237
                            wx.BITMAP_TYPE_XPM)
238
238
        self.bmp_stats = wx.BitmapFromImage(img_stats)
239
 
        img_python = wx.Image(os.path.join(SCRIPT_PATH, "images", "python_small.xpm"), 
 
239
        img_psal = wx.Image(os.path.join(SCRIPT_PATH, "images", "psal_logo.xpm"), 
240
240
                         wx.BITMAP_TYPE_XPM)
241
 
        self.bmp_python = wx.BitmapFromImage(img_python)
 
241
        self.bmp_psal = wx.BitmapFromImage(img_psal)
242
242
        self.HELP_TEXT_FONT = wx.Font(10, wx.SWISS, wx.NORMAL, wx.NORMAL)
243
243
        self.active_proj = projects.SOFA_DEFAULT_PROJ
244
244
    
264
264
                           wx.Rect(160, 248, 540, 260))
265
265
        panel_dc.SetTextForeground(wx.WHITE)
266
266
        panel_dc.SetFont(wx.Font(7, wx.SWISS, wx.NORMAL, wx.NORMAL))
267
 
        panel_dc.DrawLabel("SOFA\nThe Open Statistics Company\nAuckland, New Zealand", 
 
267
        panel_dc.DrawLabel("SOFA\nPaton-Simpson & Associates Ltd\nAuckland, New Zealand", 
268
268
                           wx.Rect(160, 497, 100, 50))
269
 
        panel_dc.DrawLabel("© 2009 The Open Statistics Company", 
270
 
                           wx.Rect(610, 522, 100, 50))
271
 
        panel_dc.DrawBitmap(self.bmp_python, 7, 495, True)
 
269
        panel_dc.DrawLabel("© 2009 Paton-Simpson & Associates Ltd", 
 
270
                           wx.Rect(500, 522, 100, 50))
 
271
        panel_dc.DrawBitmap(self.bmp_psal, 125, 492, True)
272
272
        # make default db if not already there
273
273
        connSqlite = sqlite.connect(os.path.join(LOCAL_PATH, 
274
274
                                                 projects.INTERNAL_FOLDER, 
324
324
        panel_dc.DrawBitmap(self.bmp_chart, 540, 260, True)
325
325
        panel_dc.SetTextForeground(TEXT_BROWN)
326
326
        txt_entry = "Enter data into a fresh dataset or select an existing " + \
327
 
            "one to edit or add to."
 
327
            "one to edit or add data to."
328
328
        panel_dc.DrawLabel(GetTextToDraw(txt_entry, MAX_HELP_TEXT_WIDTH), 
329
329
                           wx.Rect(160, 248, 540, 260))
330
330
        event.Skip()