Beispiel #1
0
    def about(self):
        QMessageBox.about(
            self, '关于', f'''
<h2>FGO全自动脚本</h2>
<table border="0">
  <tr>
    <td>当前版本</td>
    <td>{fgoFunc.__version__}</td>
  </tr>
  <tr>
    <td>作者</td>
    <td>hgjazhgj</td>
  </tr>
  <tr>
    <td>项目地址</td>
    <td><a href="https://github.com/hgjazhgj/FGO-py">https://github.com/hgjazhgj/FGO-py</a></td>
  </tr>
  <tr>
    <td>电子邮箱</td>
    <td><a href="mailto:[email protected]">[email protected]</a></td>
  </tr>
</table>
<!-- 都看到这里了真的不考虑给点钱吗... -->
这是我的支付宝收款码,请给我打钱,一分钱也行<br/>
<img src="data:image/bmp;base64,Qk2yAAAAAAAAAD4AAAAoAAAAHQAAAB0AAAABAAEAAAAAAHQAAAB0EgAAdBIAAAAAAAAAAAAA6KAAAP///wABYWKofU/CKEV/Zt
BFXEMwRbiQUH2a5yABj+Uo/zf3AKDtsBjeNa7YcUYb2MrQ04jEa/Ioh7TO6BR150Djjo3ATKgPmGLjdfDleznImz0gcA19mxD/rx/4AVVUAH2zpfBFCgUQRSgtEEVjdRB9
/R3wATtkAA==" height="290" width="290"/><br/>
这是我的微信收款码,请给我打钱,一分钱也行<br/>
<img src="data:;base64,Qk2yAAAAAAAAAD4AAAAoAAAAHQAAAB0AAAABAAEAAAAAAHQAAAB0EgAAdBIAAAAAAAAAAAAAOKsiAP///wABNLhYfVLBqEUYG0
hFcn7gRS8QAH2Pd2ABQiVY/x1nMFWzcFhidNUwaXr3GEp1khDJzDfAuqx06ChC9hhPvmIQMJX3SCZ13ehlXB9IVtJQUAQreqj/jv/4AVVUAH0iFfBFuxUQRRAlEEX2fRB9
Wl3wAdBsAA" height="290" width="290"/>
''')
 def showAboutDialog(self):
     """Display the application's about dialog."""
     QMessageBox.about(self, "Image Manager",
         """<h3 style='text-align:center'>Image Manager</h3>
         <p style='font-weight: normal'>The <b><i>Image Manager GUI</i></b> 
         demonstrates how to build an application for managing photos. This 
         program also examines some of the common features found in many GUIs.</p>
         <p style='font-weight: normal'>This application is part of
         <b><i>Building Custom UIs with PyQt</i></b>.</p>
         <p style='font-weight: normal'>Designed by: <b>Joshua Willman</b></p>
         <p style='font-weight: normal'>Icons created by: <b>Joshua Willman</b></p>""")
Beispiel #3
0
def converter():
    moedaDe = tela.cmbBoxDe.currentText()
    moedaPara = tela.cmbBoxPara.currentText()

    valor = tela.txtBoxDe.text()

    if valor == "":
        QMessageBox.about(tela, "ALERTA", "DIGITE UM NÚMERO PARA CONVERTER.")

    if moedaDe == "AOA - KWANZA" and moedaPara == "EUR - EURO":
        convertAOAEUR(tela)
    if moedaDe == "AOA - KWANZA" and moedaPara == "USD - DOLAR":
        convertAOAUSD(tela)
    if moedaDe == "AOA - KWANZA" and moedaPara == "BRL - REAIS":
        convertAOABRL(tela)
    if moedaDe == "AOA - KWANZA" and moedaPara == "GBP - LIBRAS":
        convertAOAGBP(tela)

    if moedaDe == "EUR - EURO" and moedaPara == "AOA - KWANZA":
        convertEURAOA(tela)
    if moedaDe == "EUR - EURO" and moedaPara == "USD - DOLAR":
        convertEURUSD(tela)
    if moedaDe == "EUR - EURO" and moedaPara == "BRL - REAIS":
        convertEURBRL(tela)
    if moedaDe == "EUR - EURO" and moedaPara == "GBP - LIBRAS":
        convertEURGBP(tela)

    if moedaDe == "USD - DOLAR" and moedaPara == "AOA - KWANZA":
        convertUSDAOA(tela)
    if moedaDe == "USD - DOLAR" and moedaPara == "EUR - EURO":
        convertUSDEUR(tela)
    if moedaDe == "USD - DOLAR" and moedaPara == "BRL - REAIS":
        convertUSDBRL(tela)
    if moedaDe == "USD - DOLAR" and moedaPara == "GBP - LIBRAS":
        convertUSDGBP(tela)

    if moedaDe == "BRL - REAIS" and moedaPara == "AOA - KWANZA":
        convertBRLAOA(tela)
    if moedaDe == "BRL - REAIS" and moedaPara == "EUR - EURO":
        convertBRLEUR(tela)
    if moedaDe == "BRL - REAIS" and moedaPara == "USD - DOLAR":
        convertBRLUSD(tela)
    if moedaDe == "BRL - REAIS" and moedaPara == "GBP - LIBRAS":
        convertBRLGBP(tela)

    if moedaDe == "GBP - LIBRAS" and moedaPara == "AOA - KWANZA":
        convertGBPAOA(tela)
    if moedaDe == "GBP - LIBRAS" and moedaPara == "EUR - EURO":
        convertGBPEUR(tela)
    if moedaDe == "GBP - LIBRAS" and moedaPara == "USD - DOLAR":
        convertGBPUSD(tela)
    if moedaDe == "GBP - LIBRAS" and moedaPara == "BRL - REAIS":
        convertGBPBRL(tela)
Beispiel #4
0
    def about(self):
        QMessageBox.about(
            self, 'FGO-py - About', f'''
<h2>FGO-py</h2>
FGO全自动脚本
<table border="0">
  <tr><td>当前版本</td><td>{fgoKernel.__version__}</td></tr>
  <tr><td>作者</td><td>hgjazhgj</td></tr>
  <tr><td>项目地址</td><td><a href="https://github.com/hgjazhgj/FGO-py">https://github.com/hgjazhgj/FGO-py</a></td></tr>
  <tr><td>电子邮箱</td><td><a href="mailto:[email protected]">[email protected]</a></td></tr>
  <tr><td>QQ群</td><td>932481680</td></tr>
</table>
<!-- 都看到这里了真的不考虑资瓷一下吗... -->
这是我的<font color="#00A0E8">支付宝</font>/<font color="#22AB38">微信</font>收款码和Monero地址<br/>请给我打钱<br/>
<img height="116" width="116" src="data:image/bmp;base64,Qk2yAAAAAAAAAD4AAAAoAAAAHQAAAB0AAAABAAEAAAAAAHQAAAB0EgAAdBIAAAAAAAAAAAAA6KAAAP///wABYWKofU/CKEV/ZtBFXEMwRbiQUH2a5yABj+Uo/zf3AKDtsBjeNa7YcUYb2MrQ04jEa/Ioh7TO6BR150Djjo3ATKgPmGLjdfDleznImz0gcA19mxD/rx/4AVVUAH2zpfBFCgUQRSgtEEVjdRB9/R3wATtkAA=="/>
<img height="116" width="116" src="data:image/bmp;base64,Qk2yAAAAAAAAAD4AAAAoAAAAHQAAAB0AAAABAAEAAAAAAHQAAAB0EgAAdBIAAAAAAAAAAAAAOKsiAP///wABNLhYfVLBqEUYG0hFcn7gRS8QAH2Pd2ABQiVY/x1nMFWzcFhidNUwaXr3GEp1khDJzDfAuqx06ChC9hhPvmIQMJX3SCZ13ehlXB9IVtJQUAQreqj/jv/4AVVUAH0iFfBFuxUQRRAlEEX2fRB9Wl3wAdBsAA=="/>
<table border="0"><tr>
  <td><img height="148" width="148" src="data:image/bmp;base64,Qk1mAQAAAAAAAD4AAAAoAAAAJQAAACUAAAABAAEAAAAAACgBAAB0EgAAdBIAAAAAAAAAAAAAAAAAAP///wABNpugAAAAAH0Q2oL4AAAARb1nmkAAAABFZnR3IAAAAEXpv9AwAAAAfZSA10AAAAABXdMVYAAAAP8qTsdQAAAAMd998EgAAACighiQeAAAAFCt3LiwAAAAo3aTXIAAAACAQzl8SAAAAEehYzFgAAAAcZ0FlEAAAACmEjZXoAAAAD2l77w4AAAAvy27zoAAAAD4P5FWQAAAAEYVS3VwAAAAyXKhYYAAAACvQwA4OAAAALyhfNNwAAAAhuODSLAAAABIC/+BMAAAABpa6jMwAAAA6TltfQAAAAATihl8wAAAACzQ8IxIAAAA/zQAZ/gAAAABVVVUAAAAAH0qre3wAAAARXxupRAAAABFiJ3tEAAAAEUGtG0QAAAAfWa6DfAAAAABsL3cAAAAAA=="/></td>
  <td><font face="Courier New">42Cnr V9Tuz E1jiS<br/>2ucGw tzN8g F6o4y<br/>9SkHs X1eZE vtiDf<br/>4QcL1 NXvfZ PhDu7<br/>LYStW rbsQM 9UUGW<br/>nqXgh ManMB dqjEW<br/>5oaDY</font></td>
</tr></table>
''')
Beispiel #5
0
 def aboutDialog(self):
     QMessageBox.about(
         self, "About Photo Editor",
         "Photo Editor\nVersion 0.2\n\nCreated by Joshua Willman")