-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.kv
98 lines (91 loc) · 3.35 KB
/
main.kv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Screen:
name: "home_ui"
# parent box
on_kv_post:
#:import TopHeader components.topheader.top_header.TopHeader
#:import SideMenu components.sidemenu.side_menu.SideMenu
#:import WelcomeTab components.codetabs.all_tabs.WelcomeTab
#:import Terminal components.terminal.py_terminal.Terminal
BoxLayout:
orientation:'vertical'
# header
BoxLayout:
size_hint_y: None
height: self.minimum_height
TopHeader:
# child box for spliters
BoxLayout:
orientation: "horizontal"
canvas:
Color:
rgba: (60/255, 48/255, 72/255, .3)
Rectangle:
pos: self.pos
size: self.size
BoxLayout:
size_hint_x: None
width: self.minimum_width
SideMenu:
BoxLayout:
orientation:'vertical'
id: tab_and_consle_container
BoxLayout:
size_hint: 1, 1
id: tab_container
# side menu Tab
Splitter:
id: splliter_sidemenutabswindows
size_hint_x: .4
# width: self.minimum_width
sizable_from: "right"
strip_size : '3pt'
min_size: "145dp"
max_size: "450dp"
SideMenuTabWindows:
# code panels
BoxLayout:
TabbedPanel: # TabbedPanel:
on_current_tab: app._on_current_active_tabs(self.current_tab)
id: all_tabs_bar
size_hint: 1, 1
pos_hint: {'center_x': .5, 'center_y': .5}
do_default_tab: False
tab_size_hint_x: None
tab_height:"30dp"
# tabs:
WelcomeTab:
# terminal window
Splitter:
id: terminal_place
# id: terminal
size_hint: 1,.4
strip_size : '3pt'
sizable_from: "top"
canvas:
Color:
rgba: (60/255, 48/255, 72/255, 1)
Rectangle:
pos: self.pos
size: self.size
Terminal:
# bottom bar
BoxLayout:
orientation:'horizontal'
size_hint_y: None
height: "25dp"
canvas.before:
Color:
rgba: (99/255, 166/255, 242/255, 0.327)
Rectangle:
pos: self.pos
size: self.size
# BottomHeader:
Label:
id: language
text: "plain text"
Label:
id: cursor_pos
text: 'Ln , Col '
Label:
id: selected_text
text: ""