Ttime5

u/Ttime5


r/Anki•

I'm trying to use mw.progress.start() while another window is loading/is opening which takes a couple of seconds, but it doesn't work. It only opens after the new window opened (and minimizes it). Here's the relevant code:

In __init__.py:

from .Main import start_main

def invoke_main():

mw.progress.start()

mw.Main = start_main()

mw.Main.show()

#mw.progress.finish()

In Main.py:

from .forms import Main #pyuic generated file

class start_main(QDialog):

def __init__(self, parent=None):

self.parent = parent

QDialog.__init__(self, parent, Qt.Window)

self.dialog = Main.Ui_dialog()

`self.dialog.setupUi

36

r/classicalchinese•

I apologize if this is not the right place to ask this, but I thought I give it a try.

I noticed that quite a few emperors are called 孝.... during the Han Dynastie. There are 孝文,孝景 and 孝武 in the 史記 and about a dozen others in the 後漢書.
I've read the three biographies in the 史記, but 孝 was barely mentioned. 孝文 seemed to value 孝 because he abolished corporal punishment after a daughter offered to be enslaved so her father wouldn't get punished. He was also mentioned in the 二十四孝, but I couldn't find anything about 孝景 or 孝武. So were they especially filial? Why call them 孝 and then don't include an explanation in their biography? Are there (more) explanations/justifications in the 後漢書?

192


r/Anki•

A couple of weeks ago I released the leaderboard add-on and made this post. Thanks to all of your feedback, bug reports and ideas here on Reddit and especially on GitHub, the add-on has improved a lot since then. The highlights are (the complete change log is on AnkiWeb):

  • New UI
  • Friends, Group and Country leaderboards
  • Retention and reviews past 31 days stats
  • Leave the leaderboard open while studying and watch yourself climb up (beta, only for Anki 2.1.24+)
  • Syncing without opening the add-on

If you're interested you can download the add-on [here](https://ankiweb.net/s

226


r/Anki•

Inspired by posts like this and this I decided to make an Anki Leaderboard add-on. This add-on creates a Leaderboard that ranks all of its users by current streak, number of cards reviewed today and time spend studying today. You can download it here, if you're interested. Let me know what you think.

Edit: Looks like there's a bug when calculating the reviews and time. I'm working on it.

Edit 2: The bug above should be fixed now, however some of you reported other issues. I'll try to solv

15287



r/ChineseLanguage•

A lot has changed since my last post here. With version v.1.7 you can now:

  • find words with characters you already know (sorted by frequency)
  • find HSK words that are still missing in your collection (sorted by HSK level)
  • search for specific words and automatically add them to your deck
  • analyse the character frequency in your collection
  • automatically add the results to a deck
  • ...

Plus the UI is now a lot more user-friendly.

You can download the add-on here, if you're interested.

20

r/Anki•

I created this test dialog:

from PyQt5 import QtCore, QtGui, QtWidgets
import sys

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(279, 75)
        self.widget = QtWidgets.QWidget(Dialog)
        self.widget.setGeometry(QtCore.QRect(0, 10, 271, 53))
        self.widget.setObjectName("widget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.widget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.testlabel = QtWidgets.QLabel(self.widget)
        self.testlabel.setObjectName(
34