~ubuntu-branches/ubuntu/oneiric/language-selector/oneiric

« back to all changes in this revision

Viewing changes to qt/QtLanguageSelectorImplementation.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-03-21 14:48:05 UTC
  • Revision ID: james.westby@ubuntu.com-20060321144805-at0hubvraxfxzvwb
Tags: 0.1.13
* add a qt fontend 
* build langauge-selector-common, language-selector-qt now
* only show a single row for both langauge-pack and language-support
* fix typo in ko_KR fontconfig voodoo file (ubuntu: #35817)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
import sys
3
 
from qt import *
4
 
 
5
 
from QtLanguageSelector import LanguageSelector
6
 
 
7
 
def hello(*args):
8
 
    print "hello"
9
 
    print args
10
 
 
11
 
 
12
 
if __name__ == "__main__":
13
 
 
14
 
    app = QApplication(sys.argv)
15
 
    
16
 
    lc = LanguageSelector()
17
 
    app.setMainWidget(lc)
18
 
    lc.show()
19
 
 
20
 
    app.connect(lc.pushButtonOk, SIGNAL("clicked()"), hello)
21
 
 
22
 
    app.exec_loop()
23