Unity 8
 All Classes Functions Properties
unity8.shell.emulators.main_window.QQuickView Class Reference
Inheritance diagram for unity8.shell.emulators.main_window.QQuickView:
Collaboration diagram for unity8.shell.emulators.main_window.QQuickView:

Public Member Functions

def get_greeter
 
def get_greeter_content_loader
 
def get_login_loader
 
def get_login_list
 
def get_hud
 
def get_hud_showable
 
def get_hud_show_button
 
def get_hud_edge_drag_area
 
def get_dash
 
def get_bottombar
 
def get_launcher
 
def get_pinPadLoader
 
def get_pinPadButton
 
def get_lockscreen
 
def get_pinentryField
 
def open_indicator_page
 
def show_dash_swiping
 
def get_current_focused_app_id
 
def search
 

Detailed Description

An emulator class that makes it easy to interact with the shell

Definition at line 34 of file main_window.py.

Member Function Documentation

def unity8.shell.emulators.main_window.QQuickView.get_current_focused_app_id (   self)
Return the id of the focused application.

Definition at line 130 of file main_window.py.

131  def get_current_focused_app_id(self):
132  """Return the id of the focused application."""
133  return self.select_single('Shell').focusedApplicationId
def unity8.shell.emulators.main_window.QQuickView.open_indicator_page (   self,
  indicator_name 
)
Swipe to open the indicator, wait until it's open.

:returns: The indicator page.

Definition at line 104 of file main_window.py.

105  def open_indicator_page(self, indicator_name):
106  """Swipe to open the indicator, wait until it's open.
107 
108  :returns: The indicator page.
109  """
110  widget = self._get_indicator_widget(indicator_name)
111  start_x, start_y = input.get_center_point(widget)
112  end_x = start_x
113  end_y = self.height
114  self.pointing_device.drag(start_x, start_y, end_x, end_y)
115  self.wait_select_single('Indicators', fullyOpened=True)
116  return self._get_indicator_page(indicator_name)
def unity8.shell.emulators.main_window.QQuickView.show_dash_swiping (   self)
Show the dash swiping from the left.

Definition at line 118 of file main_window.py.

119  def show_dash_swiping(self):
120  """Show the dash swiping from the left."""
121  width = self.width
122  height = self.height
123  start_x = 0
124  start_y = height // 2
125  end_x = width
126  end_y = start_y
127 
128  self.pointing_device.drag(start_x, start_y, end_x, end_y)
129  return self.get_dash()

The documentation for this class was generated from the following file: