Package mcbase :: Package views :: Package defaultscreen :: Module defaultscreen :: Class Defaultscreen
[hide private]
[frames] | no frames]

Class Defaultscreen

source code


Default screen for MOCOP.

Instance Methods [hide private]
 
__init__(self, parent)
Default screen for the pilot MOCOP application.
source code
 
init(self, caption=None)
Custom initialization part for this screen
source code
 
on_btnCustomerList_clicked(self)
Opens the customer list screen
source code
 
on_btnAddCustomer_clicked(self)
Opens the customer add screen
source code
 
on_btnPurchases_clicked(self)
Opens the purchases list
source code
 
on_btnAddPurchase_clicked(self)
Opens the add purchase detail screen
source code
 
on_btnItems_clicked(self)
Opens the item list screen
source code
 
on_btnAddItem_clicked(self)
Opens the item detail screen in new record mode
source code
 
on_btnQuit_clicked(self)
Closes the application
source code
 
on_btnCustomerItemsReport_clicked(self)
Opens the report viewer screen
source code
 
retranslateUi(self, Defaultscreen) (Inherited from mcbase.views.defaultscreen.ui_defaultscreen.Ui_Defaultscreen) source code
 
setupUi(self, Defaultscreen) (Inherited from mcbase.views.defaultscreen.ui_defaultscreen.Ui_Defaultscreen) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent)
(Constructor)

source code 

Default screen for the pilot MOCOP application. Includes a menu for CRM related actions.

Parameters:
  • parent - Parent screen which is normally MOCOP Main screen
Overrides: object.__init__

on_btnCustomerList_clicked(self)

source code 

Opens the customer list screen

Decorators:
  • @defer.inlineCallbacks
  • @pyqtSignature('')

on_btnAddCustomer_clicked(self)

source code 

Opens the customer add screen

Decorators:
  • @defer.inlineCallbacks
  • @pyqtSignature('')

on_btnPurchases_clicked(self)

source code 

Opens the purchases list

Decorators:
  • @defer.inlineCallbacks
  • @pyqtSignature('')

on_btnAddPurchase_clicked(self)

source code 

Opens the add purchase detail screen

Decorators:
  • @defer.inlineCallbacks
  • @pyqtSignature('')

on_btnItems_clicked(self)

source code 

Opens the item list screen

Decorators:
  • @defer.inlineCallbacks
  • @pyqtSignature('')

on_btnAddItem_clicked(self)

source code 

Opens the item detail screen in new record mode

Decorators:
  • @defer.inlineCallbacks
  • @pyqtSignature('')

on_btnQuit_clicked(self)

source code 

Closes the application

Decorators:
  • @pyqtSignature('')

on_btnCustomerItemsReport_clicked(self)

source code 

Opens the report viewer screen

Decorators:
  • @defer.inlineCallbacks
  • @pyqtSignature('')