Ejemplo n.º 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
Ejemplo n.º 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()
Ejemplo n.º 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
Ejemplo n.º 4
0
class Grid(ApplicationFactory(gridlayout.GridLayout).factoryLayout):
    '''
    If you prefer to use grid display, use Grid for layout.
    '''
    pass
Ejemplo n.º 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
Ejemplo n.º 6
0
class Box(ApplicationFactory(boxlayout.BoxLayout).factoryLayout):
    '''
    Box is regular layout for application room.
    '''
    pass
Ejemplo n.º 7
0
class Anchor(ApplicationFactory(anchorlayout.AnchorLayout).factoryLayout):
    '''
    An anchor fixed layout for your application room
    '''
    pass
Ejemplo n.º 8
0
class Radio(ApplicationFactory(togglebutton.ToggleButton).factoryWidget):
    '''
    Radio, you know what it used for.
    '''
    pass
Ejemplo n.º 9
0
class Label(ApplicationFactory(label.Label).factoryWidget):
    '''
    If there's any text you want to display then use this Label class.
    '''
    pass
Ejemplo n.º 10
0
class Image(ApplicationFactory(image.Image).factoryWidget):
    '''
    Adding some image to beautify you application is a nice idea.
    '''
    pass
Ejemplo n.º 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
Ejemplo n.º 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