1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
3
# This file is in the public domain
6
from PySide.QtCore import *
7
from PySide.QtGui import *
8
from PySide.QtUiTools import *
11
from gettext import gettext as _
12
gettext.textdomain('project_name')
15
logger = logging.getLogger('python_name')
17
from python_name_lib.python_nameconfig import *
19
class dialog_camel_case_nameDialog(QDialog):
20
def __init__(self, parent = None):
21
super(dialog_camel_case_nameDialog, self).__init__(parent)
24
file = QFile(python_nameconfig.get_data_file("ui/dialog_camel_case_nameDialog.ui"))
25
file.open(QFile.ReadOnly)
26
lwidget = loader.load(file, self)
27
lwidget.setWindowFlags(Qt.Widget)
28
layout = QVBoxLayout()
29
layout.addWidget(lwidget)
30
self.setLayout(layout)
32
self.retranslateUi(Dialog)
33
QMetaObject.connectSlotsByName(self)
35
def retranslateUi(self, Dialog):
36
Dialog.setWindowTitle(QApplication.translate("About", "About", None, QApplication.UnicodeUTF8))
39
def on_closeButton_clicked(self):