mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
[pyqt/*] fix formatting
rouge doesn't work with uppercase language names, also cleaned up whitespace
This commit is contained in:
parent
693a1c85b0
commit
f5516715c0
@ -51,7 +51,7 @@ müssen wir anfangen zusätzliche Elemente zu bauen.
|
||||
Hier zeigen wir wie man eine Dialog Popup Box einführt.
|
||||
Diese ist nützlich, um den Benutzer eine Entscheidung zu bestätigen oder um Informationen anzuzeigen.
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtCore import *
|
||||
|
@ -44,7 +44,7 @@ if __name__ == '__main__':
|
||||
Para poder hacer uso de las funciones más avanzades en **pyqt** necesitamos agregar elementos adicionales.
|
||||
Aquí mostramos cómo introducir una caja de diálogo popup, útil para permitir al usuario confirmar su decisión o para brindarnos información.
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtCore import *
|
||||
|
@ -47,7 +47,7 @@ if __name__ == '__main__':
|
||||
Pour obtenir certaines des fonctionnalités les plus avancées de **pyqt** nous devons commencer par chercher à construire des éléments supplémentaires.
|
||||
Ici nous voyons comment introduire une boîte de dialogue popup, utile pour demander une confirmation à un utilisateur ou fournir des informations.
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtCore import *
|
||||
|
@ -15,7 +15,7 @@ lang: id-id
|
||||
|
||||
Tulisan ini diadaptasi dari **Intro Qt untuk C++** oleh [Aleksey Kholovchuk](https://github.com/vortexxx192). Kode-kode yang tertulis di sini akan menghasilkan fungsionalitas yang sama. Bedanya, versi ini dibangun menggunakan **PyQt**!
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4 import QtGui
|
||||
|
||||
@ -45,7 +45,7 @@ if __name__ == '__main__':
|
||||
Untuk menunjukkan beberapa fitur yang lebih canggih di **PyQt**, kita akan membangun elemen tambahan.
|
||||
Di sini, kita akan membuat Kotak Popup Dialog, yang berguna untuk meminta pengguna untuk mengkonfirmasi keputusan atau untuk menampilkan informasi.
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtCore import *
|
||||
|
@ -47,7 +47,7 @@ if __name__ == '__main__':
|
||||
Per ottenere alcune delle funzionalità più avanzate in **pyqt**, dobbiamo iniziare a cercare di creare elementi aggiuntivi.
|
||||
Qui mostriamo come creare una finestra popup di dialogo, utile per chiedere all'utente di confermare una decisione o fornire informazioni
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtCore import *
|
||||
|
@ -54,7 +54,7 @@ outros elementos.
|
||||
Aqui mostraremos como criar uma janela popup, muito útil para perguntar ao
|
||||
usuário qual decisão tomar ou exibir alguma informação.
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtCore import *
|
||||
|
@ -44,7 +44,7 @@ if __name__ == '__main__':
|
||||
In order to get some of the more advanced features in **pyqt** we need to start looking at building additional elements.
|
||||
Here we show how to introduce a dialog popup box, useful for asking the user to confirm a decision or to provide information.
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtCore import *
|
||||
|
@ -47,7 +47,7 @@ if __name__ == '__main__':
|
||||
обратить внимание на создание дополнительных элементов. Ниже представлено создание всплывающего диалогового окна, которое просит пользователя подтвердить его решение или предоставить какую-либо
|
||||
информацию.
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtCore import *
|
||||
|
@ -44,7 +44,7 @@ if __name__ == '__main__':
|
||||
|
||||
为了运用 pyqt 中一些更高级的功能,我们需要开始学习使用其他控件。下文演示了如何弹出对话框,该对话框在用户确认操作或输入信息等情况下经常用到。
|
||||
|
||||
```Python
|
||||
```python
|
||||
import sys
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtCore import *
|
||||
|
Loading…
Reference in New Issue
Block a user