예제 #1
0
class Modal(ApplicationFactory(modalview.ModalView).factoryModal):
    '''
    Modal is layout you can use for showing and hide it in temporray ways, modal is
    different than the other layout when you create it in function model you no need
    to adding the into collection
    '''
    pass
예제 #2
0
 def __init__(self, parent=None):
     super(appbase, self).__init__(parent)
     self.setupUi(self)
     self.recording = False
     self.factory = ApplicationFactory(self)
     self.decDialog = DecoderDialog(self.factory.get_view_actions(), self)
     self._configure_data_view_manager()
     self._setup_connections()
     self.setupWidgets()
     self.populateComPorts()
예제 #3
0
class Popup(ApplicationFactory(popup.Popup).factoryModal):
    '''
    Popup is also modal but it the layout is not like the other layout, it can add only
    one widget or layout inside it.
    '''
    pass
예제 #4
0
class Grid(ApplicationFactory(gridlayout.GridLayout).factoryLayout):
    '''
    If you prefer to use grid display, use Grid for layout.
    '''
    pass
예제 #5
0
class Float(ApplicationFactory(floatlayout.FloatLayout).factoryLayout):
    '''
    it's a magic float room, you can use to manage you widget freely without limit.
    '''
    pass
예제 #6
0
class Box(ApplicationFactory(boxlayout.BoxLayout).factoryLayout):
    '''
    Box is regular layout for application room.
    '''
    pass
예제 #7
0
class Anchor(ApplicationFactory(anchorlayout.AnchorLayout).factoryLayout):
    '''
    An anchor fixed layout for your application room
    '''
    pass
예제 #8
0
class Radio(ApplicationFactory(togglebutton.ToggleButton).factoryWidget):
    '''
    Radio, you know what it used for.
    '''
    pass
예제 #9
0
class Label(ApplicationFactory(label.Label).factoryWidget):
    '''
    If there's any text you want to display then use this Label class.
    '''
    pass
예제 #10
0
class Image(ApplicationFactory(image.Image).factoryWidget):
    '''
    Adding some image to beautify you application is a nice idea.
    '''
    pass
예제 #11
0
class Button(ApplicationFactory(button.Button).factoryWidget):
    '''
    If you want to create a button, or something can be pressed, or touched
    you better use button.
    '''
    pass
예제 #12
0
class Input(ApplicationFactory(textinput.TextInput).factoryInput):
    '''
    Say if you want to create a input like login input for your application
    you will gonna use this.
    '''
    pass