Application indicator selects tabs

This commit is contained in:
fuzzgun 2013-05-07 22:52:17 +01:00
parent 71448fe84a
commit ff5c7760d0

View File

@ -485,20 +485,20 @@ class MyForm(QtGui.QMainWindow):
self.show() self.show()
self.setWindowState(self.windowState() & QtCore.Qt.WindowMaximized) self.setWindowState(self.windowState() & QtCore.Qt.WindowMaximized)
# TODO # Show the program window and select send tab
def appIndicatorSend(self): def appIndicatorSend(self):
print 'Send'
self.appIndicatorShow() self.appIndicatorShow()
self.ui.tabWidget.setCurrentIndex(1)
# TODO # Show the program window and select subscriptions tab
def appIndicatorSubscribe(self): def appIndicatorSubscribe(self):
print 'Subscribe'
self.appIndicatorShow() self.appIndicatorShow()
self.ui.tabWidget.setCurrentIndex(4)
# TODO # Show the program window and select the address book tab
def appIndicatorAddressBook(self): def appIndicatorAddressBook(self):
print 'Address Book'
self.appIndicatorShow() self.appIndicatorShow()
self.ui.tabWidget.setCurrentIndex(5)
# create application indicator # create application indicator
def createAppIndicator(self,app): def createAppIndicator(self,app):