~ubuntu-branches/ubuntu/oneiric/ubuntuone-control-panel/oneiric

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/qt/ui/mainwindow_ui.py

* New upstream release:
  [ Alejandro J. Cura <alecu@canonical.com>]
    - Do not throw a webclient error when closing
      (LP: #845105).
  [ Natalia B. Bidart <natalia.bidart@canonical.com> ]
    - Removed all code related to Bookmarks (LP: #850142).
    - Replaces references to "Evolution" by "Thunderbird" (LP: #849494).
  [ Rodney Dawes <rodney.dawes@canonical.com> ]
    - Don't install a .desktop file for control panel
      (part of LP: #838778).
    - Point the indicator/Unity API at the installer .desktop file
      (part of LP: #838778).
    - Set the WMCLASS so Unity will fall back properly
      (part of LP: #838778).
    - Fix a few grammar mistakes (LP: #835093).
    - Don't show the "Get NGB free!" label on "Join now" button at all
      (LP: #819955).
* debian/control:
  - ubuntuone-control-panel-gtk depends now on ubuntuone-installer >= 2.0.0.
  - require ubuntuone-client >= 2.0.0.
  - require ubuntu-sso-client >= 1.4.0.
  - no longer install a .desktop file (will be installed by ubuntuone-installer).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- coding: utf-8 -*-
2
 
 
3
 
# Form implementation generated from reading ui file 'data/qt/mainwindow.ui'
4
 
#
5
 
# Created: Thu Aug 25 15:26:50 2011
6
 
#      by: PyQt4 UI code generator 4.8.3
7
 
#
8
 
# WARNING! All changes made in this file will be lost!
9
 
 
10
 
from gettext import gettext as _
11
 
from PyQt4 import QtCore, QtGui
12
 
 
13
 
try:
14
 
    _fromUtf8 = QtCore.QString.fromUtf8
15
 
except AttributeError:
16
 
    _fromUtf8 = lambda s: s
17
 
 
18
 
class Ui_MainWindow(object):
19
 
    def setupUi(self, MainWindow):
20
 
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
21
 
        MainWindow.resize(736, 525)
22
 
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
23
 
        sizePolicy.setHorizontalStretch(0)
24
 
        sizePolicy.setVerticalStretch(0)
25
 
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
26
 
        MainWindow.setSizePolicy(sizePolicy)
27
 
        MainWindow.setBaseSize(QtCore.QSize(0, 0))
28
 
        icon = QtGui.QIcon()
29
 
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/u1icon.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
30
 
        MainWindow.setWindowIcon(icon)
31
 
        self.centralwidget = QtGui.QWidget(MainWindow)
32
 
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
33
 
        sizePolicy.setHorizontalStretch(0)
34
 
        sizePolicy.setVerticalStretch(0)
35
 
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
36
 
        self.centralwidget.setSizePolicy(sizePolicy)
37
 
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
38
 
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
39
 
        self.verticalLayout.setSpacing(0)
40
 
        self.verticalLayout.setMargin(3)
41
 
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
42
 
        self.control_panel = ControlPanel(self.centralwidget)
43
 
        self.control_panel.setObjectName(_fromUtf8("control_panel"))
44
 
        self.verticalLayout.addWidget(self.control_panel)
45
 
        MainWindow.setCentralWidget(self.centralwidget)
46
 
 
47
 
        self.retranslateUi(MainWindow)
48
 
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
49
 
 
50
 
    def retranslateUi(self, MainWindow):
51
 
        MainWindow.setWindowTitle(_('Ubuntu One'))
52
 
 
53
 
from ubuntuone.controlpanel.gui.qt.controlpanel import ControlPanel
54
 
import images_rc