Giter Site home page Giter Site logo

csmathematics / datatex Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 4.0 17.94 MB

DataTex is a tool for creating and managing LaTeX file databases, such as exercises, definitions, theorems, tables figures as well as Latex documents.

C++ 97.01% QMake 0.16% C 2.74% CMake 0.01% Batchfile 0.01% Python 0.06% Objective-C 0.01% Objective-C++ 0.01% Shell 0.01%
qt5 latex database database-management xelatex pdflatex cpp sqlite pdf qt6

datatex's People

Contributors

csmathematics avatar mission-wuiyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

datatex's Issues

Continuous Pdf Viewer

The included pdf viewer shows works only in single page mode. Support for continuous page scrolling needs to be added.

Windows support

Adjustments and additions must be made so the software can be available for windows too.

Fix parent-child relationships for some Qt objects

πŸ‘€ Some Qt objects are created without specifying a corresponding pointer for the parameter β€œparent”.

Examples:

  • BackUp constructor
    for (int i=0;i<DataTex::GlobalFilesDatabaseList.count();i++ ) {
    QTreeWidgetItem * item = new QTreeWidgetItem();
    item->setText(3,QFileInfo(DataTex::GlobalFilesDatabaseList.values().at(i).databaseName()).baseName());
  • DataTables::LoadFields
    fields.exec(SqlFunctions::Fields_Query);
    while(fields.next()){
    item++;
    ui->FieldTable->insertRow(item);
    ui->FieldTable->setItem(item,0 , new QTableWidgetItem(fields.value(0).toString()));
    ui->FieldTable->setItem(item,1 , new QTableWidgetItem(fields.value(1).toString()));
  • InfoPage constructor
    InfoPage::InfoPage(QWidget *parent)
    : QWizardPage(parent)
    {
    QSqlQuery DatabaseListQuery(DataTex::DataTeX_Settings);
    DatabaseListQuery.exec("SELECT FileName FROM Databases");
    while (DatabaseListQuery.next()) {
    DatabaseList.append(DatabaseListQuery.value(0).toString());
    }
    setTitle("Create new Database");
    setPixmap(QWizard::WatermarkPixmap, QPixmap(":/images/datatex.png"));
    QLabel *label = new QLabel(tr("This wizard will help you create a new LaTeX database for DataTex."));
    label->setWordWrap(true);
    QVBoxLayout *layout = new QVBoxLayout;
    QHBoxLayout *hlayout = new QHBoxLayout;
    QHBoxLayout *hlayout2 = new QHBoxLayout;
    QHBoxLayout *hlayout3 = new QHBoxLayout;
    BaseFolder::FilesDB = new QRadioButton(tr("Files Database"));
    BaseFolder::DocsDB = new QRadioButton(tr("Document Database"));
    QHBoxLayout * RadioLH = new QHBoxLayout;
  • LatexTextBrowser constructor
    LatexTextBrowser::LatexTextBrowser(QWidget *parent) :
    QTextEdit(parent)
    {
    Highlighter * h = new Highlighter();
    h->setDocument(LatexTextBrowser::document());

πŸ’­ I got the impression that such data would be required for safe management of parent-child relationships at more source code places.

Installation

Can you provide more details for the installation part? I'm new with qt and have trouble figuring it out.
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.