majewsky/majewsky-misc
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
<html> <head> <title>Contents of the majewsky-misc repo</title> </head> <!-- Please keep the comment after the <body> tag in exactly that form. It allows external sites showing this document to insert their own content. --> <body> <!--HEADER--> <h2>Hello World!</h2> <pre>export AUTHOR="Stefan Majewsky <majewsky@gmx.net>"</pre> <p>This repo contains a broad collection of smaller code pieces which I've acquired over the course of my life. Little programs to solve little problems, or small generic classes which might be useful elsewhere; everything's here, and everything is available under the very liberal <i>MIT license</i> for your pleasure. Read on for what to find in this repo.</p> <h2>Order</h2> <p>The major grouping is "by programming language and framework". That means that C++ programs are separate from Python programs, and e. g. C++ programs are also sorted by which major framework is used (e.g. Qt or STL-only).</p> <p>After this first grouping level, there is no specific order anymore. Some stuff might be ordered by topic if the `ls -l` output gets too messy, but no order is implied.</p> <h2>Commit policy</h2> <p>Patches are (of course) allowed and welcome. Please use the means provided by GitHub to send push requests to me. Please bear with me if I do not reply instantaneously, managing this repository does not have very high priority for me.</p> <h2>Content list</h2> <table border="1"> <tr> <th>Name of project or class</th> <th>Description</th> <th>Location</th> <th>Build system<br/>Requirements</th> </tr> <tr><th colspan="4"><i>Utility classes</i></th></tr> <tr> <td><tt>Utils::ModelListModel</tt></td> <td>This <a href="http://qt.nokia.com/doc/latest/qabstractitemmodel.html">model</a> lists a bunch of other models, as well as their contents. The sub models are limited to a flat shape (i.e., trees cannot be listed).</td> <td>cpp-qt/modellistmodel</td> <td>QMake<br/>Qt 4</td> </tr> <tr> <td><tt>QRangeSelector</tt></td> <td>Similar to a slider, this widget allows to select both values and ranges from a given range. The widget allows for arbitrary contents to be painted inside its frame.</td> <td>cpp-qt/rangeselector</td> <td>QMake<br/>Qt 4</td> </tr> <tr> <td><tt>Utils::SelectionDialog</tt></td> <td>If you want the user to select some <a href="http://qt.nokia.com/doc/latest/qmodelindex.html">items</a> from a <a href="http://qt.nokia.com/doc/latest/qabstractitemmodel.html">model</a>, this class relieves you from the need to create a separate KDialog subclass.</td> <td>cpp-qt/selectiondialog.{h,cpp}</td> <td>CMake<sup>1</sup><br/>kdelibs 4</td> </tr> <tr> <td><tt>Utils::StaticVector</tt></td> <td>Nearly the same as <a href="http://qt.nokia.com/doc/latest/qvector.html"><tt>QVector</tt></a>, but it does not automatically resize or reallocate its data. This is useful for passing data pointers to C libraries.</td> <td>cpp-qt/staticvector.h</td> <td>N.A.<br/>Qt 4</td> </tr> <!-- <tr> <td><tt></tt></td> <td></td> <td></td> <td></td> </tr> --> </table> <p>The fineprint:</p> <ol> <li><tt>Utils::SelectionDialog</tt> is designed to be integrated in a build system that uses automoc4. In most cases, this will be CMake with the KDE 4 macro library for CMake.</li> </ol> </body> </html>
About
A broad collection of smaller code pieces which I've acquired over the course of my life.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published