Cut-It 1.0@Release
Adds logic to the GUI class
Methods
No Documentation Provided
Determines whether to present an update windowGenerates Bypassed BrowserLoads all user data into instance vars
Fills in UI with Settings if initialLoadLoads the Settings into the GUIUpdates shortcut when user wants to view a separate oneSaves shortcut to memory when user is done editingInits custom keybindings for all user-defined shortcutsSaves settings to data.jsonChanges text of button to notify if update is needed or notSubmits feedbackChanges theme from current to reciprocal (applies on reboot)
(eg. light -> dark, dark -> light)Triggered when the evidence box's text changes
Adds closing bracket ] when an opening one [ is typedReturns list: [text of card, html of card]
Copies plain & rich text to clipboard IFF :param: copy -> TrueAdds MLA & Debate-Grade Citation and/or article text to evidence boxCopies card to clipboardBehavior for window close (saves card first)Saves settings and reapplies them on tab changePosts card objs to API for efficacy monitoring & paywall enforcement
& GitHub badge statsAdds all cards to card history selectorSaves current card if it has data (is not blank)Saves old card and opens new oneLoads most recent card (saves previous one as well and adds to card selector)Deletes currently open card after second click for safetyAdds current card to card selectorResets the delete status (clicked once) if the selected card changesAdds MLA & Debate-Grade Citation & article text to evidence boxAdds MLA & Debate-Grade Citation to evidence boxAdds article text to evidence boxTriggers User Input for Directory and Saves Card as PDFReturns cursor's start index and currently selected text in a tupleInserts formatted text at cursor position and reselects text
Copies text to clipboardStyles text with Primary EmphasisStyles text with Secondary EmphasisStyles text with Tertiary EmphasisHighlights text with Primary Highlight ColorHighlights text with Secondary Highlight ColorBolds selected textUnderlines selected textItalicises selected textClears Formatting on selected textMinimizes TextReturns bolded version of :param: textReturns underlined version of :param: textReturns italicised version of :param: textReturns highlighted version of :param: text of the color :param: colorNo Documentation Provided
Methods
Loads latest UIManually fill out the Card History groupBox (due to custom widgets)No Documentation Provided
Adds in ToolTipsAdds in missing attrs.Returns a formatted String to be inserted into the Distro box in the about sectionNo Documentation Provided
No Documentation Provided
No Documentation Provided
Methods
Returns (bool) if the card actually has dataReturns (dict) representation of the objectNo Documentation Provided
Methods
:param: URL (str) - the URL for your citation
:desc: creates citationgets raw citation data from APIformats raw citation dateReturns a list of missing attributes (key) or None (if all present)Returns a simplified debate-ready citationReturns an MLA 8 citationNo Documentation Provided
No Documentation Provided
Initializes both Card and Preferences storageReturns (int) current card indexSets the stored card indexReturns a dict of data.jsonWrites to data.jsonReturns the value of the inputted preference keySets the value of the inputted preference key to the
inputted valueReturns the value of the inputted shortcut keySets the value of the inputted shortcut key to the
inputted valueReturns a dict of cards.jsonWrites to cards.jsonReturns card at start OR at supplied indexChecks if a card contains information, if so adds it
to the end of cards.json, or if an index is
supplied it will overwrite the card at that posDeletes card at specified indexReturns current software versionReturns current software tagReturns GitHub API Releases URLSaves html to pdf with Selenium
Args:
body (str): the "body" section of the html
path (str): path to the save folder
cardName (str, optional): the name of the card (becomes filename). Defaults to "Cut-It Export".No Documentation Provided
Methods
No Documentation Provided
No Documentation Provided
No Documentation Provided
No Documentation Provided
No Documentation Provided
No Documentation Provided
No Documentation Provided
Methods
No Documentation Provided
No Documentation Provided
No Documentation Provided
No Documentation Provided
No Documentation Provided
Methods
No Documentation Provided
No Documentation Provided
No Documentation Provided
Methods
Loads latest UIAdds data about an update, if anyOpens download URL in Selenium ChromeNo Documentation Provided
No Documentation Provided
Searches GitHub Releases for new version of matching tagNo Documentation Provided