# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'tip_dlg.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
#
# WARNING! All changes made in this file will be lost!

from mnemosyne.libmnemosyne.translator import _
from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_TipDlg(object):
    def setupUi(self, TipDlg):
        TipDlg.setObjectName("TipDlg")
        TipDlg.resize(435, 212)
        self.vboxlayout = QtWidgets.QVBoxLayout(TipDlg)
        self.vboxlayout.setContentsMargins(11, 11, 11, 11)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")
        self.vboxlayout1 = QtWidgets.QVBoxLayout()
        self.vboxlayout1.setContentsMargins(5, -1, 5, -1)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")
        self.hboxlayout = QtWidgets.QHBoxLayout()
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")
        self.watermark = QtWidgets.QLabel(TipDlg)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.watermark.sizePolicy().hasHeightForWidth())
        self.watermark.setSizePolicy(sizePolicy)
        self.watermark.setPixmap(QtGui.QPixmap("image0"))
        self.watermark.setScaledContents(True)
        self.watermark.setWordWrap(False)
        self.watermark.setObjectName("watermark")
        self.hboxlayout.addWidget(self.watermark)
        self.vboxlayout2 = QtWidgets.QVBoxLayout()
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")
        self.tip_label_2 = QtWidgets.QLabel(TipDlg)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tip_label_2.sizePolicy().hasHeightForWidth())
        self.tip_label_2.setSizePolicy(sizePolicy)
        self.tip_label_2.setWordWrap(False)
        self.tip_label_2.setObjectName("tip_label_2")
        self.vboxlayout2.addWidget(self.tip_label_2)
        self.tip_label = QtWidgets.QLabel(TipDlg)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tip_label.sizePolicy().hasHeightForWidth())
        self.tip_label.setSizePolicy(sizePolicy)
        self.tip_label.setText("")
        self.tip_label.setAlignment(QtCore.Qt.AlignVCenter)
        self.tip_label.setWordWrap(True)
        self.tip_label.setOpenExternalLinks(True)
        self.tip_label.setObjectName("tip_label")
        self.vboxlayout2.addWidget(self.tip_label)
        self.hboxlayout.addLayout(self.vboxlayout2)
        self.vboxlayout1.addLayout(self.hboxlayout)
        self.line1 = QtWidgets.QFrame(TipDlg)
        self.line1.setFrameShape(QtWidgets.QFrame.HLine)
        self.line1.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line1.setObjectName("line1")
        self.vboxlayout1.addWidget(self.line1)
        self.hboxlayout1 = QtWidgets.QHBoxLayout()
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.show_tips = QtWidgets.QCheckBox(TipDlg)
        self.show_tips.setChecked(True)
        self.show_tips.setObjectName("show_tips")
        self.hboxlayout1.addWidget(self.show_tips)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem)
        self.previous_button = QtWidgets.QPushButton(TipDlg)
        self.previous_button.setObjectName("previous_button")
        self.hboxlayout1.addWidget(self.previous_button)
        self.next_button = QtWidgets.QPushButton(TipDlg)
        self.next_button.setObjectName("next_button")
        self.hboxlayout1.addWidget(self.next_button)
        self.OK_button = QtWidgets.QPushButton(TipDlg)
        self.OK_button.setDefault(True)
        self.OK_button.setObjectName("OK_button")
        self.hboxlayout1.addWidget(self.OK_button)
        self.vboxlayout1.addLayout(self.hboxlayout1)
        self.vboxlayout.addLayout(self.vboxlayout1)

        self.retranslateUi(TipDlg)
        self.OK_button.clicked.connect(TipDlg.close)
        self.previous_button.clicked.connect(TipDlg.previous)
        self.next_button.clicked.connect(TipDlg.next)
        QtCore.QMetaObject.connectSlotsByName(TipDlg)

    def retranslateUi(self, TipDlg):
        _translate = QtCore.QCoreApplication.translate
        TipDlg.setWindowTitle(_('Tip of the day'))
        self.tip_label_2.setText(_('<b>Did you know...?</b>'))
        self.show_tips.setText(_('&Show tips on startup'))
        self.show_tips.setShortcut(_('Alt+S'))
        self.previous_button.setText(_('&Previous'))
        self.previous_button.setShortcut(_('Alt+P'))
        self.next_button.setText(_('&Next'))
        self.next_button.setShortcut(_('Alt+N'))
        self.OK_button.setText(_('&Close'))
        self.OK_button.setShortcut(_('Alt+C'))

