From 39fe0b74d26e33ac7036c96d1d9c3403d746130a Mon Sep 17 00:00:00 2001 From: DonRenando Date: Wed, 15 Apr 2015 18:13:51 +0200 Subject: [PATCH] doc --- client/Doc/start.MyThread.html | 202 ++++++ client/Doc/start.StreamHandler.html | 136 ++++ client/Doc/start.privateFile.html | 34 + client/Doc/start.privateMessage.html | 60 ++ client/Doc/start.start.html | 951 +++++++++++++++++++++++++++ client/__init__.py | 1 + client/start.py | 1 + 7 files changed, 1385 insertions(+) create mode 100644 client/Doc/start.MyThread.html create mode 100644 client/Doc/start.StreamHandler.html create mode 100644 client/Doc/start.privateFile.html create mode 100644 client/Doc/start.privateMessage.html create mode 100644 client/Doc/start.start.html create mode 100644 client/__init__.py diff --git a/client/Doc/start.MyThread.html b/client/Doc/start.MyThread.html new file mode 100644 index 0000000..912a174 --- /dev/null +++ b/client/Doc/start.MyThread.html @@ -0,0 +1,202 @@ + +Python: class MyThread + + +

+ + + + + +
 
+start.MyThread = class MyThread(PySide.QtCore.QThread)
    
Method resolution order:
+
MyThread
+
PySide.QtCore.QThread
+
PySide.QtCore.QObject
+
Shiboken.Object
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, parent=None)
+ +
run(self)
+ +
setConfig(self, s, gui)
+ +
+Data and other attributes defined here:
+
staticMetaObject = <PySide.QtCore.QMetaObject object>
+ +
+Methods inherited from PySide.QtCore.QThread:
+
__new__(*args, **kwargs) from Shiboken.ObjectType
Create and return a new object.  See help(type) for accurate signature.
+ +
exec_(...)
+ +
exit(...)
+ +
isFinished(...)
+ +
isRunning(...)
+ +
priority(...)
+ +
quit(...)
+ +
setPriority(...)
+ +
setStackSize(...)
+ +
stackSize(...)
+ +
start(...)
+ +
terminate(...)
+ +
wait(...)
+ +
+Static methods inherited from PySide.QtCore.QThread:
+
currentThread(...)
+ +
currentThreadId(...)
+ +
idealThreadCount(...)
+ +
msleep(...)
+ +
setTerminationEnabled(...)
+ +
sleep(...)
+ +
usleep(...)
+ +
yieldCurrentThread(...)
+ +
+Data and other attributes inherited from PySide.QtCore.QThread:
+
HighPriority = PySide.QtCore.QThread.Priority.HighPriority
+ +
HighestPriority = PySide.QtCore.QThread.Priority.HighestPriority
+ +
IdlePriority = PySide.QtCore.QThread.Priority.IdlePriority
+ +
InheritPriority = PySide.QtCore.QThread.Priority.InheritPriority
+ +
LowPriority = PySide.QtCore.QThread.Priority.LowPriority
+ +
LowestPriority = PySide.QtCore.QThread.Priority.LowestPriority
+ +
NormalPriority = PySide.QtCore.QThread.Priority.NormalPriority
+ +
Priority = <class 'PySide.QtCore.QThread.Priority'>
+ +
TimeCriticalPriority = PySide.QtCore.QThread.Priority.TimeCriticalPriority
+ +
finished = <PySide.QtCore.Signal object>
Signal
+ +
started = <PySide.QtCore.Signal object>
Signal
+ +
terminated = <PySide.QtCore.Signal object>
Signal
+ +
+Methods inherited from PySide.QtCore.QObject:
+
__delattr__(self, name, /)
Implement delattr(self, name).
+ +
__getattribute__(self, name, /)
Return getattr(self, name).
+ +
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
+ +
blockSignals(...)
+ +
childEvent(...)
+ +
children(...)
+ +
connectNotify(...)
+ +
customEvent(...)
+ +
deleteLater(...)
+ +
disconnectNotify(...)
+ +
dumpObjectInfo(...)
+ +
dumpObjectTree(...)
+ +
dynamicPropertyNames(...)
+ +
emit(...)
+ +
event(...)
+ +
eventFilter(...)
+ +
findChild(...)
+ +
findChildren(...)
+ +
inherits(...)
+ +
installEventFilter(...)
+ +
isWidgetType(...)
+ +
killTimer(...)
+ +
metaObject(...)
+ +
moveToThread(...)
+ +
objectName(...)
+ +
parent(...)
+ +
property(...)
+ +
receivers(...)
+ +
removeEventFilter(...)
+ +
sender(...)
+ +
senderSignalIndex(...)
+ +
setObjectName(...)
+ +
setParent(...)
+ +
setProperty(...)
+ +
signalsBlocked(...)
+ +
startTimer(...)
+ +
thread(...)
+ +
timerEvent(...)
+ +
tr(...)
+ +
trUtf8(...)
+ +
+Static methods inherited from PySide.QtCore.QObject:
+
connect(...)
+ +
disconnect(...)
+ +
registerUserData(...)
+ +
+Data and other attributes inherited from PySide.QtCore.QObject:
+
destroyed = <PySide.QtCore.Signal object>
Signal
+ +
+Data descriptors inherited from Shiboken.Object:
+
__dict__
+
+
+ \ No newline at end of file diff --git a/client/Doc/start.StreamHandler.html b/client/Doc/start.StreamHandler.html new file mode 100644 index 0000000..75a69a6 --- /dev/null +++ b/client/Doc/start.StreamHandler.html @@ -0,0 +1,136 @@ + +Python: class StreamHandler + + +

+ + + + + + + +
 
+start.StreamHandler = class StreamHandler(threading.Thread)
   this class can receive files sent by p2p
+to run this class, we need to do :
+          s = StreamHandler(portFile, fileName)
+          s.start()
 
 
Method resolution order:
+
StreamHandler
+
threading.Thread
+
builtins.object
+
+
+Methods defined here:
+
__init__(self, port, filename)
:param port: the port of the new connection
+:param filename: the name of the file you wish to receive
+:return:
+ +
acceptcsock(self)
accept to receive the file
+:return:
+ +
acceptmsock(self)
Get the address of the connection
+:return:
+ +
bindmsock(self)
creation of a new socket for the p2p transfert file
+:return:
+ +
close(self)
We close the connection
+:return:
+ +
process(self)
function who start all the function
+:return:
+ +
run(self)
 Execute the process function
+:return:
+ +
transfer(self)
Starting the transfert of the file
+:return:
+ +
+Methods inherited from threading.Thread:
+
__repr__(self)
+ +
getName(self)
+ +
isAlive = is_alive(self)
Return whether the thread is alive.

+This method returns True just before the run() method starts until just
+after the run() method terminates. The module function enumerate()
+returns a list of all alive threads.
+ +
isDaemon(self)
+ +
is_alive(self)
Return whether the thread is alive.

+This method returns True just before the run() method starts until just
+after the run() method terminates. The module function enumerate()
+returns a list of all alive threads.
+ +
join(self, timeout=None)
Wait until the thread terminates.

+This blocks the calling thread until the thread whose join() method is
+called terminates -- either normally or through an unhandled exception
+or until the optional timeout occurs.

+When the timeout argument is present and not None, it should be a
+floating point number specifying a timeout for the operation in seconds
+(or fractions thereof). As join() always returns None, you must call
+isAlive() after join() to decide whether a timeout happened -- if the
+thread is still alive, the join() call timed out.

+When the timeout argument is not present or None, the operation will
+block until the thread terminates.

+A thread can be join()ed many times.

+join() raises a RuntimeError if an attempt is made to join the current
+thread as that would cause a deadlock. It is also an error to join() a
+thread before it has been started and attempts to do so raises the same
+exception.
+ +
setDaemon(self, daemonic)
+ +
setName(self, name)
+ +
start(self)
Start the thread's activity.

+It must be called at most once per thread object. It arranges for the
+object's run() method to be invoked in a separate thread of control.

+This method will raise a RuntimeError if called more than once on the
+same thread object.
+ +
+Data descriptors inherited from threading.Thread:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
daemon
+
A boolean value indicating whether this thread is a daemon thread.

+This must be set before start() is called, otherwise RuntimeError is
+raised. Its initial value is inherited from the creating thread; the
+main thread is not a daemon thread and therefore all threads created in
+the main thread default to daemon = False.

+The entire Python program exits when no alive non-daemon threads are
+left.
+
+
ident
+
Thread identifier of this thread or None if it has not been started.

+This is a nonzero integer. See the thread.get_ident() function. Thread
+identifiers may be recycled when a thread exits and another thread is
+created. The identifier is available even after the thread has exited.
+
+
name
+
A string used for identification purposes only.

+It has no semantics. Multiple threads may be given the same name. The
+initial name is set by the constructor.
+
+
+ \ No newline at end of file diff --git a/client/Doc/start.privateFile.html b/client/Doc/start.privateFile.html new file mode 100644 index 0000000..c56790b --- /dev/null +++ b/client/Doc/start.privateFile.html @@ -0,0 +1,34 @@ + +Python: class privateFile + + +

+ + + + + +
 
+start.privateFile = class privateFile(builtins.object)
    Methods defined here:
+
__init__(self, main, s, pseudoFile)
new windows for the p2p
+:param main:
+:param s:
+:param pseudoFile: pseudo of the people who need to send the file
+:return:
+ +
selectFile(self)
buttton to open and chose the file to send and create the name of the command
+:return:
+ +
sendFile(self)
Send to the sever the command : /pmfile + pseudo to send + name of the file
+:return:
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+ \ No newline at end of file diff --git a/client/Doc/start.privateMessage.html b/client/Doc/start.privateMessage.html new file mode 100644 index 0000000..6a1a5b8 --- /dev/null +++ b/client/Doc/start.privateMessage.html @@ -0,0 +1,60 @@ + +Python: class privateMessage + + +

+ + + + + +
 
+start.privateMessage = class privateMessage(builtins.object)
    Methods defined here:
+
ShowMessageAsTextPm(self, txt)
add txt to the buffer with the time and color
+:param txt: message from sever
+:return:
+ +
ShowMessageErreur(self, txt)
Show with color message from the server with error
+:param txt:message from server
+:return: message with color
+ +
UpdateChatP(self)
update the chat box
+:return:
+ +
__init__(self, main, s, pmPerson, pmPerso)
new windows for a private conversation
+:param main:
+:param s:
+:param pmPerson:
+:param pmPerso:
+:return:
+ +
accept(self)
if a user accept a pm with another user
+:return:
+ +
codeNb(self, txt)
converted a return code (info and succes) in the message
+:param txt: code from the server
+:return: info, String return from server
+ +
getTimeStamp(self)
the time format: H:M
+:return: time
+ +
htmlToText(self, html)
converted some characters written by the user (html tag, smiley)
+:param html: message written by an user
+:return: html, message converted
+ +
reject(self)
if a user reject a pm conversation
+:return:
+ +
send(self)
send the message written in the pm conversation
+:return:
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+ \ No newline at end of file diff --git a/client/Doc/start.start.html b/client/Doc/start.start.html new file mode 100644 index 0000000..9155e02 --- /dev/null +++ b/client/Doc/start.start.html @@ -0,0 +1,951 @@ + +Python: class start + + +

+ + + + + +
 
+start.start = class start(PyQt4.QtGui.QMainWindow)
    
Method resolution order:
+
start
+
PyQt4.QtGui.QMainWindow
+
PyQt4.QtGui.QWidget
+
PyQt4.QtCore.QObject
+
sip.wrapper
+
PyQt4.QtGui.QPaintDevice
+
sip.simplewrapper
+
builtins.object
+
+
+Methods defined here:
+
FirstActionButtonA(self)
first action (ask a pm) on the menu of the right click
+:return:
+ +
SecondActionButtonA(self)
second action (send file) on the menu of the right click
+:return:
+ +
ShowMessageAsText(self, txt)
add to the buffer message from the server with style and run some function
+:param txt:message from the server
+:return:
+ +
ShowMessageErreur(self, txt)
add to the buffer an erreur message with color
+:param txt:message from the server
+:return:
+ +
ShowMessageHasJoin(self, txt)
adds a message to the buffer to alert users that a person has joined the dnc
+:param txt: user name
+:return:
+ +
ShowMessageHasLeft(self, txt)
adds a message to the buffer to alert users that a person has left the dnc
+:param txt: user name
+:return:
+ +
ShowMessageInfo(self, txt)
add to the buffer an info message with style
+:param txt:message from the server
+:return:
+ +
ShowMessageNameChange(self, txt, txt2)
adds a message to the buffer to alert users that a person change his name
+:param txt: old name
+:param txt2:new name
+:return:
+ +
ShowMessageOK(self, txt)
add to the buffer a good message with style
+:param txt:message from the server
+:return:
+ +
UpdateChat(self)
update the chat with the buffer
+:return:
+ +
__init__(self)
Main Windows with the main conversation
+:return:
+ +
away(self)
action on the button afk and back
+:return:
+ +
buttonAMenu(self, pos)
menu with the right click on the user list
+:param pos:
+:return:
+ +
changeN(self)
action to change name
+:return:
+ +
client(self)
send a message to the sever
+:return:
+ +
codeNb(self, txt)
converted a return code in the message
+:param txt: code from the server
+:return: info, String return from server
+ +
connectActions(self)
add an action to buttons
+:return:
+ +
connecter(self)
create a connection, chose name and start thread to update the chat
+:return:
+ +
createWidgets(self)
run the main windows, with config
+:return:
+ +
deco(self)
action on the button to disconnect from dnc
+:return:
+ +
errNb(self, txt)
converted a return error code in the message
+:param txt: code from the server
+:return: String message
+ +
getTimeStamp(self)
the time format: H:M
+:return: time
+ +
htmlToText(self, html)
converted some characters written by the user (html tag, smiley)
+:param html: message written by an user
+:return: html, message converted
+ +
on_buttonA_released(self)
+ +
questionMessage(self, name, fileN)
open un QMessageBox to  ask the user whether to download a file from another user
+:param name: user name who send file
+:param fileN: file name
+:return:
+ +
setNewMsg(self, msg)
add msg to the queueMsg
+:param msg:
+:return:
+ +
someMethod(self, item)
ask a pm to another user of the list
+:param item: user name from the list
+:return:
+ +
+Methods inherited from PyQt4.QtGui.QMainWindow:
+
addDockWidget(...)
QMainWindow.addDockWidget(Qt.DockWidgetArea, QDockWidget)
+QMainWindow.addDockWidget(Qt.DockWidgetArea, QDockWidget, Qt.Orientation)
+ +
addToolBar(...)
QMainWindow.addToolBar(Qt.ToolBarArea, QToolBar)
+QMainWindow.addToolBar(QToolBar)
+QMainWindow.addToolBar(str) -> QToolBar
+ +
addToolBarBreak(...)
QMainWindow.addToolBarBreak(Qt.ToolBarArea area=Qt.TopToolBarArea)
+ +
centralWidget(...)
QMainWindow.centralWidget() -> QWidget
+ +
contextMenuEvent(...)
QMainWindow.contextMenuEvent(QContextMenuEvent)
+ +
corner(...)
QMainWindow.corner(Qt.Corner) -> Qt.DockWidgetArea
+ +
createPopupMenu(...)
QMainWindow.createPopupMenu() -> QMenu
+ +
dockOptions(...)
QMainWindow.dockOptions() -> QMainWindow.DockOptions
+ +
dockWidgetArea(...)
QMainWindow.dockWidgetArea(QDockWidget) -> Qt.DockWidgetArea
+ +
documentMode(...)
QMainWindow.documentMode() -> bool
+ +
event(...)
QMainWindow.event(QEvent) -> bool
+ +
iconSize(...)
QMainWindow.iconSize() -> QSize
+ +iconSizeChanged = <unbound signal iconSizeChanged> +
insertToolBar(...)
QMainWindow.insertToolBar(QToolBar, QToolBar)
+ +
insertToolBarBreak(...)
QMainWindow.insertToolBarBreak(QToolBar)
+ +
isAnimated(...)
QMainWindow.isAnimated() -> bool
+ +
isDockNestingEnabled(...)
QMainWindow.isDockNestingEnabled() -> bool
+ +
isSeparator(...)
QMainWindow.isSeparator(QPoint) -> bool
+ +
menuBar(...)
QMainWindow.menuBar() -> QMenuBar
+ +
menuWidget(...)
QMainWindow.menuWidget() -> QWidget
+ +
removeDockWidget(...)
QMainWindow.removeDockWidget(QDockWidget)
+ +
removeToolBar(...)
QMainWindow.removeToolBar(QToolBar)
+ +
removeToolBarBreak(...)
QMainWindow.removeToolBarBreak(QToolBar)
+ +
restoreDockWidget(...)
QMainWindow.restoreDockWidget(QDockWidget) -> bool
+ +
restoreState(...)
QMainWindow.restoreState(QByteArray, int version=0) -> bool
+ +
saveState(...)
QMainWindow.saveState(int version=0) -> QByteArray
+ +
setAnimated(...)
QMainWindow.setAnimated(bool)
+ +
setCentralWidget(...)
QMainWindow.setCentralWidget(QWidget)
+ +
setCorner(...)
QMainWindow.setCorner(Qt.Corner, Qt.DockWidgetArea)
+ +
setDockNestingEnabled(...)
QMainWindow.setDockNestingEnabled(bool)
+ +
setDockOptions(...)
QMainWindow.setDockOptions(QMainWindow.DockOptions)
+ +
setDocumentMode(...)
QMainWindow.setDocumentMode(bool)
+ +
setIconSize(...)
QMainWindow.setIconSize(QSize)
+ +
setMenuBar(...)
QMainWindow.setMenuBar(QMenuBar)
+ +
setMenuWidget(...)
QMainWindow.setMenuWidget(QWidget)
+ +
setStatusBar(...)
QMainWindow.setStatusBar(QStatusBar)
+ +
setTabPosition(...)
QMainWindow.setTabPosition(Qt.DockWidgetAreas, QTabWidget.TabPosition)
+ +
setTabShape(...)
QMainWindow.setTabShape(QTabWidget.TabShape)
+ +
setToolButtonStyle(...)
QMainWindow.setToolButtonStyle(Qt.ToolButtonStyle)
+ +
setUnifiedTitleAndToolBarOnMac(...)
QMainWindow.setUnifiedTitleAndToolBarOnMac(bool)
+ +
splitDockWidget(...)
QMainWindow.splitDockWidget(QDockWidget, QDockWidget, Qt.Orientation)
+ +
statusBar(...)
QMainWindow.statusBar() -> QStatusBar
+ +
tabPosition(...)
QMainWindow.tabPosition(Qt.DockWidgetArea) -> QTabWidget.TabPosition
+ +
tabShape(...)
QMainWindow.tabShape() -> QTabWidget.TabShape
+ +
tabifiedDockWidgets(...)
QMainWindow.tabifiedDockWidgets(QDockWidget) -> list-of-QDockWidget
+ +
tabifyDockWidget(...)
QMainWindow.tabifyDockWidget(QDockWidget, QDockWidget)
+ +
toolBarArea(...)
QMainWindow.toolBarArea(QToolBar) -> Qt.ToolBarArea
+ +
toolBarBreak(...)
QMainWindow.toolBarBreak(QToolBar) -> bool
+ +
toolButtonStyle(...)
QMainWindow.toolButtonStyle() -> Qt.ToolButtonStyle
+ +toolButtonStyleChanged = <unbound signal toolButtonStyleChanged> +
unifiedTitleAndToolBarOnMac(...)
QMainWindow.unifiedTitleAndToolBarOnMac() -> bool
+ +
+Data and other attributes inherited from PyQt4.QtGui.QMainWindow:
+
AllowNestedDocks = 2
+ +
AllowTabbedDocks = 4
+ +
AnimatedDocks = 1
+ +
DockOption = <class 'PyQt4.QtGui.QMainWindow.DockOption'>
+ +
DockOptions = <class 'PyQt4.QtGui.DockOptions'>
QMainWindow.DockOptions(QMainWindow.DockOptions)
+QMainWindow.DockOptions(int)
+QMainWindow.DockOptions()
+ +
ForceTabbedDocks = 8
+ +
VerticalTabs = 16
+ +
+Methods inherited from PyQt4.QtGui.QWidget:
+
acceptDrops(...)
QWidget.acceptDrops() -> bool
+ +
accessibleDescription(...)
QWidget.accessibleDescription() -> str
+ +
accessibleName(...)
QWidget.accessibleName() -> str
+ +
actionEvent(...)
QWidget.actionEvent(QActionEvent)
+ +
actions(...)
QWidget.actions() -> list-of-QAction
+ +
activateWindow(...)
QWidget.activateWindow()
+ +
addAction(...)
QWidget.addAction(QAction)
+ +
addActions(...)
QWidget.addActions(list-of-QAction)
+ +
adjustSize(...)
QWidget.adjustSize()
+ +
autoFillBackground(...)
QWidget.autoFillBackground() -> bool
+ +
backgroundRole(...)
QWidget.backgroundRole() -> QPalette.ColorRole
+ +
baseSize(...)
QWidget.baseSize() -> QSize
+ +
changeEvent(...)
QWidget.changeEvent(QEvent)
+ +
childAt(...)
QWidget.childAt(QPoint) -> QWidget
+QWidget.childAt(int, int) -> QWidget
+ +
childrenRect(...)
QWidget.childrenRect() -> QRect
+ +
childrenRegion(...)
QWidget.childrenRegion() -> QRegion
+ +
clearFocus(...)
QWidget.clearFocus()
+ +
clearMask(...)
QWidget.clearMask()
+ +
close(...)
QWidget.close() -> bool
+ +
closeEvent(...)
QWidget.closeEvent(QCloseEvent)
+ +
contentsMargins(...)
QWidget.contentsMargins() -> QMargins
+ +
contentsRect(...)
QWidget.contentsRect() -> QRect
+ +
contextMenuPolicy(...)
QWidget.contextMenuPolicy() -> Qt.ContextMenuPolicy
+ +
create(...)
QWidget.create(int window=0, bool initializeWindow=True, bool destroyOldWindow=True)
+ +
cursor(...)
QWidget.cursor() -> QCursor
+ +customContextMenuRequested = <unbound signal customContextMenuRequested> +
destroy(...)
QWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)
+ +
devType(...)
QWidget.devType() -> int
+ +
dragEnterEvent(...)
QWidget.dragEnterEvent(QDragEnterEvent)
+ +
dragLeaveEvent(...)
QWidget.dragLeaveEvent(QDragLeaveEvent)
+ +
dragMoveEvent(...)
QWidget.dragMoveEvent(QDragMoveEvent)
+ +
dropEvent(...)
QWidget.dropEvent(QDropEvent)
+ +
effectiveWinId(...)
QWidget.effectiveWinId() -> int
+ +
enabledChange(...)
QWidget.enabledChange(bool)
+ +
ensurePolished(...)
QWidget.ensurePolished()
+ +
enterEvent(...)
QWidget.enterEvent(QEvent)
+ +
find(...)
QWidget.find(int) -> QWidget
+ +
focusInEvent(...)
QWidget.focusInEvent(QFocusEvent)
+ +
focusNextChild(...)
QWidget.focusNextChild() -> bool
+ +
focusNextPrevChild(...)
QWidget.focusNextPrevChild(bool) -> bool
+ +
focusOutEvent(...)
QWidget.focusOutEvent(QFocusEvent)
+ +
focusPolicy(...)
QWidget.focusPolicy() -> Qt.FocusPolicy
+ +
focusPreviousChild(...)
QWidget.focusPreviousChild() -> bool
+ +
focusProxy(...)
QWidget.focusProxy() -> QWidget
+ +
focusWidget(...)
QWidget.focusWidget() -> QWidget
+ +
font(...)
QWidget.font() -> QFont
+ +
fontChange(...)
QWidget.fontChange(QFont)
+ +
fontInfo(...)
QWidget.fontInfo() -> QFontInfo
+ +
fontMetrics(...)
QWidget.fontMetrics() -> QFontMetrics
+ +
foregroundRole(...)
QWidget.foregroundRole() -> QPalette.ColorRole
+ +
frameGeometry(...)
QWidget.frameGeometry() -> QRect
+ +
frameSize(...)
QWidget.frameSize() -> QSize
+ +
geometry(...)
QWidget.geometry() -> QRect
+ +
getContentsMargins(...)
QWidget.getContentsMargins() -> (int, int, int, int)
+ +
grabGesture(...)
QWidget.grabGesture(Qt.GestureType, Qt.GestureFlags flags=Qt.GestureFlags(0))
+ +
grabKeyboard(...)
QWidget.grabKeyboard()
+ +
grabMouse(...)
QWidget.grabMouse()
+QWidget.grabMouse(QCursor)
+ +
grabShortcut(...)
QWidget.grabShortcut(QKeySequence, Qt.ShortcutContext context=Qt.WindowShortcut) -> int
+ +
graphicsEffect(...)
QWidget.graphicsEffect() -> QGraphicsEffect
+ +
graphicsProxyWidget(...)
QWidget.graphicsProxyWidget() -> QGraphicsProxyWidget
+ +
handle(...)
QWidget.handle() -> int
+ +
hasFocus(...)
QWidget.hasFocus() -> bool
+ +
hasMouseTracking(...)
QWidget.hasMouseTracking() -> bool
+ +
height(...)
QWidget.height() -> int
+ +
heightForWidth(...)
QWidget.heightForWidth(int) -> int
+ +
hide(...)
QWidget.hide()
+ +
hideEvent(...)
QWidget.hideEvent(QHideEvent)
+ +
inputContext(...)
QWidget.inputContext() -> QInputContext
+ +
inputMethodEvent(...)
QWidget.inputMethodEvent(QInputMethodEvent)
+ +
inputMethodHints(...)
QWidget.inputMethodHints() -> Qt.InputMethodHints
+ +
inputMethodQuery(...)
QWidget.inputMethodQuery(Qt.InputMethodQuery) -> object
+ +
insertAction(...)
QWidget.insertAction(QAction, QAction)
+ +
insertActions(...)
QWidget.insertActions(QAction, list-of-QAction)
+ +
isActiveWindow(...)
QWidget.isActiveWindow() -> bool
+ +
isAncestorOf(...)
QWidget.isAncestorOf(QWidget) -> bool
+ +
isEnabled(...)
QWidget.isEnabled() -> bool
+ +
isEnabledTo(...)
QWidget.isEnabledTo(QWidget) -> bool
+ +
isEnabledToTLW(...)
QWidget.isEnabledToTLW() -> bool
+ +
isFullScreen(...)
QWidget.isFullScreen() -> bool
+ +
isHidden(...)
QWidget.isHidden() -> bool
+ +
isLeftToRight(...)
QWidget.isLeftToRight() -> bool
+ +
isMaximized(...)
QWidget.isMaximized() -> bool
+ +
isMinimized(...)
QWidget.isMinimized() -> bool
+ +
isModal(...)
QWidget.isModal() -> bool
+ +
isRightToLeft(...)
QWidget.isRightToLeft() -> bool
+ +
isTopLevel(...)
QWidget.isTopLevel() -> bool
+ +
isVisible(...)
QWidget.isVisible() -> bool
+ +
isVisibleTo(...)
QWidget.isVisibleTo(QWidget) -> bool
+ +
isWindow(...)
QWidget.isWindow() -> bool
+ +
isWindowModified(...)
QWidget.isWindowModified() -> bool
+ +
keyPressEvent(...)
QWidget.keyPressEvent(QKeyEvent)
+ +
keyReleaseEvent(...)
QWidget.keyReleaseEvent(QKeyEvent)
+ +
keyboardGrabber(...)
QWidget.keyboardGrabber() -> QWidget
+ +
languageChange(...)
QWidget.languageChange()
+ +
layout(...)
QWidget.layout() -> QLayout
+ +
layoutDirection(...)
QWidget.layoutDirection() -> Qt.LayoutDirection
+ +
leaveEvent(...)
QWidget.leaveEvent(QEvent)
+ +
locale(...)
QWidget.locale() -> QLocale
+ +
lower(...)
QWidget.lower()
+ +
mapFrom(...)
QWidget.mapFrom(QWidget, QPoint) -> QPoint
+ +
mapFromGlobal(...)
QWidget.mapFromGlobal(QPoint) -> QPoint
+ +
mapFromParent(...)
QWidget.mapFromParent(QPoint) -> QPoint
+ +
mapTo(...)
QWidget.mapTo(QWidget, QPoint) -> QPoint
+ +
mapToGlobal(...)
QWidget.mapToGlobal(QPoint) -> QPoint
+ +
mapToParent(...)
QWidget.mapToParent(QPoint) -> QPoint
+ +
mask(...)
QWidget.mask() -> QRegion
+ +
maximumHeight(...)
QWidget.maximumHeight() -> int
+ +
maximumSize(...)
QWidget.maximumSize() -> QSize
+ +
maximumWidth(...)
QWidget.maximumWidth() -> int
+ +
metric(...)
QWidget.metric(QPaintDevice.PaintDeviceMetric) -> int
+ +
minimumHeight(...)
QWidget.minimumHeight() -> int
+ +
minimumSize(...)
QWidget.minimumSize() -> QSize
+ +
minimumSizeHint(...)
QWidget.minimumSizeHint() -> QSize
+ +
minimumWidth(...)
QWidget.minimumWidth() -> int
+ +
mouseDoubleClickEvent(...)
QWidget.mouseDoubleClickEvent(QMouseEvent)
+ +
mouseGrabber(...)
QWidget.mouseGrabber() -> QWidget
+ +
mouseMoveEvent(...)
QWidget.mouseMoveEvent(QMouseEvent)
+ +
mousePressEvent(...)
QWidget.mousePressEvent(QMouseEvent)
+ +
mouseReleaseEvent(...)
QWidget.mouseReleaseEvent(QMouseEvent)
+ +
move(...)
QWidget.move(QPoint)
+QWidget.move(int, int)
+ +
moveEvent(...)
QWidget.moveEvent(QMoveEvent)
+ +
nativeParentWidget(...)
QWidget.nativeParentWidget() -> QWidget
+ +
nextInFocusChain(...)
QWidget.nextInFocusChain() -> QWidget
+ +
normalGeometry(...)
QWidget.normalGeometry() -> QRect
+ +
overrideWindowFlags(...)
QWidget.overrideWindowFlags(Qt.WindowFlags)
+ +
overrideWindowState(...)
QWidget.overrideWindowState(Qt.WindowStates)
+ +
paintEngine(...)
QWidget.paintEngine() -> QPaintEngine
+ +
paintEvent(...)
QWidget.paintEvent(QPaintEvent)
+ +
palette(...)
QWidget.palette() -> QPalette
+ +
paletteChange(...)
QWidget.paletteChange(QPalette)
+ +
parentWidget(...)
QWidget.parentWidget() -> QWidget
+ +
pos(...)
QWidget.pos() -> QPoint
+ +
previousInFocusChain(...)
QWidget.previousInFocusChain() -> QWidget
+ +
raise_(...)
QWidget.raise_()
+ +
rect(...)
QWidget.rect() -> QRect
+ +
releaseKeyboard(...)
QWidget.releaseKeyboard()
+ +
releaseMouse(...)
QWidget.releaseMouse()
+ +
releaseShortcut(...)
QWidget.releaseShortcut(int)
+ +
removeAction(...)
QWidget.removeAction(QAction)
+ +
render(...)
QWidget.render(QPaintDevice, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.DrawWindowBackground|QWidget.DrawChildren)
+QWidget.render(QPainter, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.DrawWindowBackground|QWidget.DrawChildren)
+ +
repaint(...)
QWidget.repaint()
+QWidget.repaint(int, int, int, int)
+QWidget.repaint(QRect)
+QWidget.repaint(QRegion)
+ +
resetInputContext(...)
QWidget.resetInputContext()
+ +
resize(...)
QWidget.resize(QSize)
+QWidget.resize(int, int)
+ +
resizeEvent(...)
QWidget.resizeEvent(QResizeEvent)
+ +
restoreGeometry(...)
QWidget.restoreGeometry(QByteArray) -> bool
+ +
saveGeometry(...)
QWidget.saveGeometry() -> QByteArray
+ +
scroll(...)
QWidget.scroll(int, int)
+QWidget.scroll(int, int, QRect)
+ +
setAcceptDrops(...)
QWidget.setAcceptDrops(bool)
+ +
setAccessibleDescription(...)
QWidget.setAccessibleDescription(str)
+ +
setAccessibleName(...)
QWidget.setAccessibleName(str)
+ +
setAttribute(...)
QWidget.setAttribute(Qt.WidgetAttribute, bool on=True)
+ +
setAutoFillBackground(...)
QWidget.setAutoFillBackground(bool)
+ +
setBackgroundRole(...)
QWidget.setBackgroundRole(QPalette.ColorRole)
+ +
setBaseSize(...)
QWidget.setBaseSize(int, int)
+QWidget.setBaseSize(QSize)
+ +
setContentsMargins(...)
QWidget.setContentsMargins(int, int, int, int)
+QWidget.setContentsMargins(QMargins)
+ +
setContextMenuPolicy(...)
QWidget.setContextMenuPolicy(Qt.ContextMenuPolicy)
+ +
setCursor(...)
QWidget.setCursor(QCursor)
+ +
setDisabled(...)
QWidget.setDisabled(bool)
+ +
setEnabled(...)
QWidget.setEnabled(bool)
+ +
setFixedHeight(...)
QWidget.setFixedHeight(int)
+ +
setFixedSize(...)
QWidget.setFixedSize(QSize)
+QWidget.setFixedSize(int, int)
+ +
setFixedWidth(...)
QWidget.setFixedWidth(int)
+ +
setFocus(...)
QWidget.setFocus()
+QWidget.setFocus(Qt.FocusReason)
+ +
setFocusPolicy(...)
QWidget.setFocusPolicy(Qt.FocusPolicy)
+ +
setFocusProxy(...)
QWidget.setFocusProxy(QWidget)
+ +
setFont(...)
QWidget.setFont(QFont)
+ +
setForegroundRole(...)
QWidget.setForegroundRole(QPalette.ColorRole)
+ +
setGeometry(...)
QWidget.setGeometry(QRect)
+QWidget.setGeometry(int, int, int, int)
+ +
setGraphicsEffect(...)
QWidget.setGraphicsEffect(QGraphicsEffect)
+ +
setHidden(...)
QWidget.setHidden(bool)
+ +
setInputContext(...)
QWidget.setInputContext(QInputContext)
+ +
setInputMethodHints(...)
QWidget.setInputMethodHints(Qt.InputMethodHints)
+ +
setLayout(...)
QWidget.setLayout(QLayout)
+ +
setLayoutDirection(...)
QWidget.setLayoutDirection(Qt.LayoutDirection)
+ +
setLocale(...)
QWidget.setLocale(QLocale)
+ +
setMask(...)
QWidget.setMask(QBitmap)
+QWidget.setMask(QRegion)
+ +
setMaximumHeight(...)
QWidget.setMaximumHeight(int)
+ +
setMaximumSize(...)
QWidget.setMaximumSize(int, int)
+QWidget.setMaximumSize(QSize)
+ +
setMaximumWidth(...)
QWidget.setMaximumWidth(int)
+ +
setMinimumHeight(...)
QWidget.setMinimumHeight(int)
+ +
setMinimumSize(...)
QWidget.setMinimumSize(int, int)
+QWidget.setMinimumSize(QSize)
+ +
setMinimumWidth(...)
QWidget.setMinimumWidth(int)
+ +
setMouseTracking(...)
QWidget.setMouseTracking(bool)
+ +
setPalette(...)
QWidget.setPalette(QPalette)
+ +
setParent(...)
QWidget.setParent(QWidget)
+QWidget.setParent(QWidget, Qt.WindowFlags)
+ +
setShortcutAutoRepeat(...)
QWidget.setShortcutAutoRepeat(int, bool enabled=True)
+ +
setShortcutEnabled(...)
QWidget.setShortcutEnabled(int, bool enabled=True)
+ +
setShown(...)
QWidget.setShown(bool)
+ +
setSizeIncrement(...)
QWidget.setSizeIncrement(int, int)
+QWidget.setSizeIncrement(QSize)
+ +
setSizePolicy(...)
QWidget.setSizePolicy(QSizePolicy)
+QWidget.setSizePolicy(QSizePolicy.Policy, QSizePolicy.Policy)
+ +
setStatusTip(...)
QWidget.setStatusTip(str)
+ +
setStyle(...)
QWidget.setStyle(QStyle)
+ +
setStyleSheet(...)
QWidget.setStyleSheet(str)
+ +
setTabOrder(...)
QWidget.setTabOrder(QWidget, QWidget)
+ +
setToolTip(...)
QWidget.setToolTip(str)
+ +
setUpdatesEnabled(...)
QWidget.setUpdatesEnabled(bool)
+ +
setVisible(...)
QWidget.setVisible(bool)
+ +
setWhatsThis(...)
QWidget.setWhatsThis(str)
+ +
setWindowFilePath(...)
QWidget.setWindowFilePath(str)
+ +
setWindowFlags(...)
QWidget.setWindowFlags(Qt.WindowFlags)
+ +
setWindowIcon(...)
QWidget.setWindowIcon(QIcon)
+ +
setWindowIconText(...)
QWidget.setWindowIconText(str)
+ +
setWindowModality(...)
QWidget.setWindowModality(Qt.WindowModality)
+ +
setWindowModified(...)
QWidget.setWindowModified(bool)
+ +
setWindowOpacity(...)
QWidget.setWindowOpacity(float)
+ +
setWindowRole(...)
QWidget.setWindowRole(str)
+ +
setWindowState(...)
QWidget.setWindowState(Qt.WindowStates)
+ +
setWindowTitle(...)
QWidget.setWindowTitle(str)
+ +
show(...)
QWidget.show()
+ +
showEvent(...)
QWidget.showEvent(QShowEvent)
+ +
showFullScreen(...)
QWidget.showFullScreen()
+ +
showMaximized(...)
QWidget.showMaximized()
+ +
showMinimized(...)
QWidget.showMinimized()
+ +
showNormal(...)
QWidget.showNormal()
+ +
size(...)
QWidget.size() -> QSize
+ +
sizeHint(...)
QWidget.sizeHint() -> QSize
+ +
sizeIncrement(...)
QWidget.sizeIncrement() -> QSize
+ +
sizePolicy(...)
QWidget.sizePolicy() -> QSizePolicy
+ +
stackUnder(...)
QWidget.stackUnder(QWidget)
+ +
statusTip(...)
QWidget.statusTip() -> str
+ +
style(...)
QWidget.style() -> QStyle
+ +
styleSheet(...)
QWidget.styleSheet() -> str
+ +
tabletEvent(...)
QWidget.tabletEvent(QTabletEvent)
+ +
testAttribute(...)
QWidget.testAttribute(Qt.WidgetAttribute) -> bool
+ +
toolTip(...)
QWidget.toolTip() -> str
+ +
topLevelWidget(...)
QWidget.topLevelWidget() -> QWidget
+ +
underMouse(...)
QWidget.underMouse() -> bool
+ +
ungrabGesture(...)
QWidget.ungrabGesture(Qt.GestureType)
+ +
unsetCursor(...)
QWidget.unsetCursor()
+ +
unsetLayoutDirection(...)
QWidget.unsetLayoutDirection()
+ +
unsetLocale(...)
QWidget.unsetLocale()
+ +
update(...)
QWidget.update()
+QWidget.update(QRect)
+QWidget.update(QRegion)
+QWidget.update(int, int, int, int)
+ +
updateGeometry(...)
QWidget.updateGeometry()
+ +
updateMicroFocus(...)
QWidget.updateMicroFocus()
+ +
updatesEnabled(...)
QWidget.updatesEnabled() -> bool
+ +
visibleRegion(...)
QWidget.visibleRegion() -> QRegion
+ +
whatsThis(...)
QWidget.whatsThis() -> str
+ +
wheelEvent(...)
QWidget.wheelEvent(QWheelEvent)
+ +
width(...)
QWidget.width() -> int
+ +
winId(...)
QWidget.winId() -> int
+ +
window(...)
QWidget.window() -> QWidget
+ +
windowActivationChange(...)
QWidget.windowActivationChange(bool)
+ +
windowFilePath(...)
QWidget.windowFilePath() -> str
+ +
windowFlags(...)
QWidget.windowFlags() -> Qt.WindowFlags
+ +
windowIcon(...)
QWidget.windowIcon() -> QIcon
+ +
windowIconText(...)
QWidget.windowIconText() -> str
+ +
windowModality(...)
QWidget.windowModality() -> Qt.WindowModality
+ +
windowOpacity(...)
QWidget.windowOpacity() -> float
+ +
windowRole(...)
QWidget.windowRole() -> str
+ +
windowState(...)
QWidget.windowState() -> Qt.WindowStates
+ +
windowTitle(...)
QWidget.windowTitle() -> str
+ +
windowType(...)
QWidget.windowType() -> Qt.WindowType
+ +
x(...)
QWidget.x() -> int
+ +
x11Info(...)
QWidget.x11Info() -> QX11Info
+ +
x11PictureHandle(...)
QWidget.x11PictureHandle() -> int
+ +
y(...)
QWidget.y() -> int
+ +
+Data and other attributes inherited from PyQt4.QtGui.QWidget:
+
DrawChildren = 2
+ +
DrawWindowBackground = 1
+ +
IgnoreMask = 4
+ +
RenderFlag = <class 'PyQt4.QtGui.QWidget.RenderFlag'>
+ +
RenderFlags = <class 'PyQt4.QtGui.RenderFlags'>
QWidget.RenderFlags(QWidget.RenderFlags)
+QWidget.RenderFlags(int)
+QWidget.RenderFlags()
+ +
+Methods inherited from PyQt4.QtCore.QObject:
+
__getattr__(...)
QObject.__getattr__(str) -> object
+ +
blockSignals(...)
QObject.blockSignals(bool) -> bool
+ +
childEvent(...)
QObject.childEvent(QChildEvent)
+ +
children(...)
QObject.children() -> list-of-QObject
+ +
connect(...)
QObject.connect(QObject, SIGNAL(), QObject, SLOT(), Qt.ConnectionType=Qt.AutoConnection) -> bool
+QObject.connect(QObject, SIGNAL(), callable, Qt.ConnectionType=Qt.AutoConnection) -> bool
+QObject.connect(QObject, SIGNAL(), SLOT(), Qt.ConnectionType=Qt.AutoConnection) -> bool
+ +
connectNotify(...)
QObject.connectNotify(SIGNAL())
+ +
customEvent(...)
QObject.customEvent(QEvent)
+ +
deleteLater(...)
QObject.deleteLater()
+ +destroyed = <unbound signal destroyed> +
disconnect(...)
QObject.disconnect(QObject, SIGNAL(), QObject, SLOT()) -> bool
+QObject.disconnect(QObject, SIGNAL(), callable) -> bool
+ +
disconnectNotify(...)
QObject.disconnectNotify(SIGNAL())
+ +
dumpObjectInfo(...)
QObject.dumpObjectInfo()
+ +
dumpObjectTree(...)
QObject.dumpObjectTree()
+ +
dynamicPropertyNames(...)
QObject.dynamicPropertyNames() -> list-of-QByteArray
+ +
emit(...)
QObject.emit(SIGNAL(), ...)
+ +
eventFilter(...)
QObject.eventFilter(QObject, QEvent) -> bool
+ +
findChild(...)
QObject.findChild(type, str name='') -> QObject
+QObject.findChild(tuple, str name='') -> QObject
+ +
findChildren(...)
QObject.findChildren(type, str name='') -> list-of-QObject
+QObject.findChildren(tuple, str name='') -> list-of-QObject
+QObject.findChildren(type, QRegExp) -> list-of-QObject
+QObject.findChildren(tuple, QRegExp) -> list-of-QObject
+ +
inherits(...)
QObject.inherits(str) -> bool
+ +
installEventFilter(...)
QObject.installEventFilter(QObject)
+ +
isWidgetType(...)
QObject.isWidgetType() -> bool
+ +
killTimer(...)
QObject.killTimer(int)
+ +
metaObject(...)
QObject.metaObject() -> QMetaObject
+ +
moveToThread(...)
QObject.moveToThread(QThread)
+ +
objectName(...)
QObject.objectName() -> str
+ +
parent(...)
QObject.parent() -> QObject
+ +
property(...)
QObject.property(str) -> object
+ +
pyqtConfigure(...)
QObject.pyqtConfigure(...)

+Each keyword argument is either the name of a Qt property or a Qt signal.
+For properties the property is set to the given value which should be of an
+appropriate type.
+For signals the signal is connected to the given value which should be a
+callable.
+ +
receivers(...)
QObject.receivers(SIGNAL()) -> int
+ +
removeEventFilter(...)
QObject.removeEventFilter(QObject)
+ +
sender(...)
QObject.sender() -> QObject
+ +
senderSignalIndex(...)
QObject.senderSignalIndex() -> int
+ +
setObjectName(...)
QObject.setObjectName(str)
+ +
setProperty(...)
QObject.setProperty(str, object) -> bool
+ +
signalsBlocked(...)
QObject.signalsBlocked() -> bool
+ +
startTimer(...)
QObject.startTimer(int) -> int
+ +
thread(...)
QObject.thread() -> QThread
+ +
timerEvent(...)
QObject.timerEvent(QTimerEvent)
+ +
tr(...)
QObject.tr(str, str disambiguation=None, int n=-1) -> str
+ +
trUtf8(...)
QObject.trUtf8(str, str disambiguation=None, int n=-1) -> str
+ +
+Data descriptors inherited from PyQt4.QtCore.QObject:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from PyQt4.QtCore.QObject:
+
staticMetaObject = <PyQt4.QtCore.QMetaObject object>
+ +
+Methods inherited from PyQt4.QtGui.QPaintDevice:
+
colorCount(...)
QPaintDevice.colorCount() -> int
+ +
depth(...)
QPaintDevice.depth() -> int
+ +
heightMM(...)
QPaintDevice.heightMM() -> int
+ +
logicalDpiX(...)
QPaintDevice.logicalDpiX() -> int
+ +
logicalDpiY(...)
QPaintDevice.logicalDpiY() -> int
+ +
numColors(...)
QPaintDevice.numColors() -> int
+ +
paintingActive(...)
QPaintDevice.paintingActive() -> bool
+ +
physicalDpiX(...)
QPaintDevice.physicalDpiX() -> int
+ +
physicalDpiY(...)
QPaintDevice.physicalDpiY() -> int
+ +
widthMM(...)
QPaintDevice.widthMM() -> int
+ +
+Data and other attributes inherited from PyQt4.QtGui.QPaintDevice:
+
PaintDeviceMetric = <class 'PyQt4.QtGui.QPaintDevice.PaintDeviceMetric'>
+ +
PdmDepth = 6
+ +
PdmDpiX = 7
+ +
PdmDpiY = 8
+ +
PdmHeight = 2
+ +
PdmHeightMM = 4
+ +
PdmNumColors = 5
+ +
PdmPhysicalDpiX = 9
+ +
PdmPhysicalDpiY = 10
+ +
PdmWidth = 1
+ +
PdmWidthMM = 3
+ +
+Methods inherited from sip.simplewrapper:
+
__new__(*args, **kwargs) from sip.wrappertype
Create and return a new object.  See help(type) for accurate signature.
+ +
+Data descriptors inherited from sip.simplewrapper:
+
__dict__
+
+
+ \ No newline at end of file diff --git a/client/__init__.py b/client/__init__.py new file mode 100644 index 0000000..7918858 --- /dev/null +++ b/client/__init__.py @@ -0,0 +1 @@ +autor ="renan" diff --git a/client/start.py b/client/start.py index 6b3c55c..59fbe9a 100755 --- a/client/start.py +++ b/client/start.py @@ -7,6 +7,7 @@ from socket import * from view.pmWindow import Ui_Dialog2 from view.pmFile import Ui_Dialog3 import configparser +import pydoc from threading import *