~dobey/ubuntu/oneiric/ubuntuone-control-panel/release-113

« back to all changes in this revision

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

  • Committer: Sebastien Bacher
  • Date: 2011-07-25 13:17:38 UTC
  • mfrom: (25.1.2 ubuntuone-control-panel)
  • Revision ID: seb128@ubuntu.com-20110725131738-yuevatnd859d1phs
Tags: 1.1.1-0ubuntu1
releasing version 1.1.1-0ubuntu1

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/device.ui'
 
4
#
 
5
# Created: Fri Jul 22 17:06:43 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(400, 63)
 
22
        Form.setWindowTitle(_fromUtf8("Form"))
 
23
        self.horizontalLayout = QtGui.QHBoxLayout(Form)
 
24
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
 
25
        self.device_icon_label = QtGui.QLabel(Form)
 
26
        self.device_icon_label.setPixmap(QtGui.QPixmap(_fromUtf8(":/computer.png")))
 
27
        self.device_icon_label.setObjectName(_fromUtf8("device_icon_label"))
 
28
        self.horizontalLayout.addWidget(self.device_icon_label)
 
29
        self.device_name_label = QtGui.QLabel(Form)
 
30
        self.device_name_label.setObjectName(_fromUtf8("device_name_label"))
 
31
        self.horizontalLayout.addWidget(self.device_name_label)
 
32
        spacerItem = QtGui.QSpacerItem(217, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
 
33
        self.horizontalLayout.addItem(spacerItem)
 
34
        self.remove_device_button = QtGui.QPushButton(Form)
 
35
        self.remove_device_button.setObjectName(_fromUtf8("remove_device_button"))
 
36
        self.horizontalLayout.addWidget(self.remove_device_button)
 
37
 
 
38
        self.retranslateUi(Form)
 
39
        QtCore.QMetaObject.connectSlotsByName(Form)
 
40
 
 
41
    def retranslateUi(self, Form):
 
42
        self.device_name_label.setText(_('Local device'))
 
43
        self.remove_device_button.setText(_('Delete device'))
 
44
 
 
45
import images_rc