Se afișează postările cu eticheta en. Afișați toate postările
Se afișează postările cu eticheta en. Afișați toate postările

[EN] QtQuick Window default height

In this article I will describe a behavior that is not described in the Qt documentation I read. I used Qt 5.10.1 on an up-to-date Windows 10 system.

When using the Window QtQuick type, the default height of it is 0 and when its property named "visible" is set to true, the height gets transformed into 160 as it is visible. Even if you manually set the height of the Window to 0, when it becomes visible, it still gets transformed into 160. When using another value for height, such as 10, the value is not changed when the Window is shown.

Code:

import QtQuick 2.10
import QtQuick.Window 2.10

Window {
    visible: true

    height: 0
    onHeightChanged: console.log("height", height);
}


[EN] web-blinds

Web experiment: blinds (window shutters) simulation in a web page. There are two sliders that control the blinds in front of a window (with realtime update tooltips with the value of the updated characteristic): rotate (0deg-180deg) and pull (0.0%-100.0%).

Screenshots here.

[EN] qt-cli-folder-index

A simple command line program that lets the user describe directories (folders) using words and links to files/directories, such that s/he can create, for example, a table of contents page.

I have developed a program with a graphical user interface for the user based on the same ideea. If you want to find more about it, follow this link.

Tested on Ubuntu and Windows 10.

Screenshots here.

[EN] qt-analiza-text

A program that analyses letters and sounds that build up a text. It works also as a simple text editor: it has the features of opening and saving files of the type plain text.

Screenshots here.

[EN] qt-unelte-dex

DEX comes from "Dicționarul EXplicativ al Limbii Române" translated to English by "The Explanatory Dictionary of the Romanian Language". qt-unelte-dex is a program whose title is translated in English to "DEX tools". Features:

- search for definitions of a term or for the definitions of the terms that have as a flexionary form the searched string of characters;
- search for the anagrams of a term or for the anagrams of a flexionary form of a term that is in the database;
- in the anagram search mode you can search for anagrams that are anagrams only because of their pronounciation;
- in the anagram search mode you can search using the wildcards "?" and "*".
Screenshot here.

[EN] web-darmaths

An educational software for Mathematics, written in Google's Dart programming language, as a web page.

Current features:
- textarea matrix editor;
- matrix editor with textboxes for each matrix cell;
- multiedit matrix editor with checkboxes;
- matrix calculator with addition and substraction;
- conversion of current edited matrix to JSON array of columns or to JSON array of lines.

Screenshots here.

[RO] qt-acidlink

AcidLink - Un mic navigator WWW bazat pe Qt și scris în C++, care folosește QtWebEngine.

Captură de ecran aici.

[EN] qt-acidlink

AcidLink - A small WWW browser that uses QtWebEngine, it is based on Qt and written in C++.

Screenshot here.

[EN] qt-crystaldev

CrystalDev - a small Qt-based programmer development environment, extensible to other syntax highlighting color schemes and other programming languages through easily understandable JSON files.

Screenshots here.

[EN] rb-humble-bug

A small, local, console-based bug tracker written in the Ruby programming language. I used it and it works very well.

Screenshot here.

[EN] cs-winforms-schimbarea-bazei-intr-un-spatiu-vectorial

A Windows Forms program written in C# which presents the change of base of some vectors in a vectorial space. The program uses the C# library NCalc. I made this program as a project for the universitary teacher Sorin Mureșan from the University of Oradea, Faculty of Sciences, department Mathematics-Informatics.

Screenshot here.

[EN] cs-systemuptime

A small C# WPF Windows-only program that displays the current system uptime, possibly automatically updated every second. It uses a Windows API function. Tested on Windows 10 (31.08.2017).

Screenshot here.

[EN] cs-powerpoint-presentation-resource-extractor

A Windows-only program which extracts resources (such as images) from a PowerPoint presentation. It works only when Microsoft Office PowerPoint is installed. Tested on Windows 7+.

Screenshot here.

[EN] qt-timeout

A small Qt-based countdown timer program.

Screenshots here.

[EN] simulare-efectul-compton

Theory: In the dispersed X radiations, alonside the radiations with the wavelength equal with the incident ones there show up radiations with the wavelength bigger with Δλ. This phenomenon is called the Compton Effect.

Screenshot here.

[EN] simulare-postulatele-lui-einstein

The two postulates of Einstein are:

The time interval between two events is relative

The time span of a process is minimal in that system of reference to which the place where an event takes place is fixed.

The dimension of the bodies or the distance between them have a relative character

The length of the bodies is contracting on the distance of their movement being maximal in their own system of reference.

Screenshots here.

[EN] web-generare-orar

The project qt-generare-orar rebuilt with web technologies.

Repository name: program-de-generare-orar.

Screenshots here.

[EN] qt-generare-orar

Below is the documentation of my attestate project from the 12nd grade in highschool.

Usage of the program

The program presents 4 menus and a space destinated to the content shown, space which by default shows a list with information about the inserted teachers.
The information inserted in the program is structured like this: a list with information about teacher, each teacher has associated: a name, a list with information about the schools where s/he teaches, a list with information about the classes where he teaches and a list with information about the restrictions regarding the timetable.
Information about schools where a teacher teaches are the name of the school, the halves of hour in the week when the teacher can be present in that school.
Information about classes where a teacher teaches are the name of the class, the scool in which the class is and the numer of hour per week (in steps of a half of an hour) in which the teacher at which the class is inserted, must teach this class.
Information about restrictions regarding the timetable are the reason of the restriction and the halves of hours from the teacher's timetale in which it applies.

The Fișier menu contains the options Deschide…, Salvează, Salvează ca… și Închide.
By selecting Deschide… a new window will open in which an input file will be selected for the program, in JSON format (with the extension .json).
By selecting the option Salvează the unsaved changes in the opened input file are saved.
With Salvează ca… a new copy of the dates inside the current session of the program is saved as a .json file in the file system of the computer.
Through selecting the option Închide the input file opened before is closed and the session's data in the program is cleaned.

The menu Editare has the options Adaugă un profesor…, Șterge profesorul.
By selecting the option Șterge profesorul the teacher selected in the list of teachers is eliminated from the list.
By selecting the option Adaugă un profesor… a new window for inserting the information of a new teacher is opened.
The window contains fields or boxed of type list for the name of the teacher, the schools, classes and tje restrictions associated to him/her, buttons for adding or deleting schools, classes or restrictions and buttons for adding the teacher (Adaugă) or to cancel the form (Anulează).
When the Adaugă o școală button is clicked a new window is opened in which the name of the school is inserted and the hours when the teacher can be present in that scool are selected.
When the Adaugă o clasă button is clicked, a new window is opened which has fields for the name of the class, the school to whom the class belongs, the number of hours per week in which the teacher teaches the class.
When the Adaugă o restricție button is clicked, a window is opened in which the reason of the restriction is inserted and the hours affected by the restriction.

The menu Vedere has two options, Lista cu profesori and Creează orarele. The default mode is Lista cu profesori (it is seen at the startup of the program). When the creation of the timetables from the inserted information is wanted, the Creează orarele option is selected and in this way we enter the second section of the application.
In the timetable creation section, in the left side is the panel where the timetables will be shown. In the right part, in the two white boxes, there will be shown filtres. By default, on the left are shown all the generated timetables. In the panel in the right the user can select the display of just the teachers' timetables, just the timetable of a single teacher, the schools' timetables, the timetable/s of a single school or of a single class.
The button Înlătură filtrul eliminates the filter selected with the two list boxes above.
The option Salvează în format HTML orarele afișate... opens a window in which a file in HTML format can be saved containing all the timetables shown in the left panel.
The button Recalculează orarele builds a new set of timetables starting from the dates inserted in the mode Lista cu profesori, which may be modified.

The menu Program contains the options Despre program… and Documentație și ajutor….
The option Despre program… opens a window with the name of the progra, of the author and his email address.
The option Documentație și ajutor… opens a window with descriptions of the actions of the items in the program's menus. (The documentation in this blog post, but available only in Romanian)

Screenshots here.

[EN] web-edu-chimie

Educational software for chemistry (web page).

Features:
- molecular modeling (Add atom, Delete selected atoms, Select all atoms, Unselect all atoms, Invert selection)
    - save formulas locally, delete one of them or delete all of them;
    - molecular mass calculated automatically (g/mol);
    - redox equation calculator.

Screenshots here.

[EN] Folder Index

A program for navigating through the files and folders on the computer with the special functionality which gives the user the power to create a Contents/Index of every folder on the computer using text and links to subfolders and files in the folder. The program was tested on Windows 7/10.

Help text inside the program (in Romanian - if there is interest in translating this in English, please post a comment):
Acesta este un program de navigare prin fișierele și dosarele de pe calculator.
Pe lângă câteva funcții de bază pe care le așteptați de la un asemenea program, există funcția de „Dosare importante” (vezi panoul din partea stângă), o colecție de dosare pe care utilizatorul le poate accesa foarte ușor, într-un mod asemănător cu semnele de carte (bookmarks) dintr-un program de navigare pe Internet.
O funcție esențială a programului este întâlnită în panoul „Despre dosar” unde utilizatorul poate crea un cuprins al dosarului, cu legături către subdosarele și fișierele din dosarul curent. Legăturile se creează prin tragere cu mausul din panoul central în panoul „Despre dosar”. Legăturile din „Despre dosar” au același meniu contextual (la clic-dreapta) ca fișierele/dosarele din panoul cental.
Conținutul panoul „Despre dosar” este stocat într-un fișier ascuns din dosar numit „.folder_index.txt”. Acesta poate fi șters apăsând butonul „Șterge fișierul index”.
Screenshots available here.