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

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/qt/ui/devices_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/devices.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_Form(object):
19
 
    def setupUi(self, Form):
20
 
        Form.setObjectName(_fromUtf8("Form"))
21
 
        Form.resize(393, 281)
22
 
        Form.setWindowTitle(_fromUtf8("Form"))
23
 
        self.verticalLayout_3 = QtGui.QVBoxLayout(Form)
24
 
        self.verticalLayout_3.setSpacing(0)
25
 
        self.verticalLayout_3.setMargin(0)
26
 
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
27
 
        self.local_device = QtGui.QGroupBox(Form)
28
 
        self.local_device.setObjectName(_fromUtf8("local_device"))
29
 
        self.verticalLayout = QtGui.QVBoxLayout(self.local_device)
30
 
        self.verticalLayout.setMargin(0)
31
 
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
32
 
        self.local_device_box = QtGui.QVBoxLayout()
33
 
        self.local_device_box.setObjectName(_fromUtf8("local_device_box"))
34
 
        self.verticalLayout.addLayout(self.local_device_box)
35
 
        self.verticalLayout_3.addWidget(self.local_device)
36
 
        self.oher_devices = QtGui.QGroupBox(Form)
37
 
        self.oher_devices.setObjectName(_fromUtf8("oher_devices"))
38
 
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.oher_devices)
39
 
        self.verticalLayout_2.setMargin(0)
40
 
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
41
 
        self.list_devices = QtGui.QListWidget(self.oher_devices)
42
 
        self.list_devices.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
43
 
        self.list_devices.setAlternatingRowColors(True)
44
 
        self.list_devices.setIconSize(QtCore.QSize(32, 32))
45
 
        self.list_devices.setSpacing(0)
46
 
        self.list_devices.setSelectionRectVisible(False)
47
 
        self.list_devices.setObjectName(_fromUtf8("list_devices"))
48
 
        self.verticalLayout_2.addWidget(self.list_devices)
49
 
        self.verticalLayout_3.addWidget(self.oher_devices)
50
 
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
51
 
        self.horizontalLayout_3.setMargin(3)
52
 
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
53
 
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
54
 
        self.horizontalLayout_3.addItem(spacerItem)
55
 
        self.manage_devices_button = GoToWebButton(Form)
56
 
        self.manage_devices_button.setObjectName(_fromUtf8("manage_devices_button"))
57
 
        self.horizontalLayout_3.addWidget(self.manage_devices_button)
58
 
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
59
 
        self.horizontalLayout_3.addItem(spacerItem1)
60
 
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
61
 
 
62
 
        self.retranslateUi(Form)
63
 
        QtCore.QMetaObject.connectSlotsByName(Form)
64
 
 
65
 
    def retranslateUi(self, Form):
66
 
        self.local_device.setTitle(_('This device'))
67
 
        self.oher_devices.setTitle(_('Other devices'))
68
 
        self.manage_devices_button.setText(_('Go to the web page to manage your other devices'))
69
 
 
70
 
from ubuntuone.controlpanel.gui.qt.gotoweb import GoToWebButton
71
 
import images_rc