Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+126
View File
@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LicenceEdit</class>
<widget class="NGLDialog" name="LicenceEdit">
<property name="windowTitle">
<string>Licence Data</string>
</property>
<property name="title" stdset="0">
<string>Settings</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="8" column="0" colspan="3">
<widget class="NGLDialogButtonBox" name="nglDialogButtonBox">
<property name="standardButtons">
<set>NGLStandardButton::Cancel|NGLStandardButton::Ok</set>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QSpinBox" name="sbMaxCount">
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QTimeEdit" name="timeEdit">
<property name="dateTime">
<datetime>
<hour>0</hour>
<minute>0</minute>
<second>0</second>
<year>2000</year>
<month>1</month>
<day>1</day>
</datetime>
</property>
<property name="calendarPopup">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="1" colspan="2">
<widget class="QCheckBox" name="chbIgnoreExpiration">
<property name="text">
<string>Ignore Expiration</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="lbxName">
<property name="text">
<string>Name:</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="lbxExpiry">
<property name="text">
<string>Expiry:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="lbxCount">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Count:</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="2">
<widget class="QCheckBox" name="chbIgnoreCount">
<property name="text">
<string>Ignore Count</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QDateEdit" name="dateEdit">
<property name="calendarPopup">
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="0" colspan="3">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="leName"/>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>NGLDialogButtonBox</class>
<extends>QWidget</extends>
<header>nglwidgets/ngldialogbuttonbox.h</header>
</customwidget>
<customwidget>
<class>NGLDialog</class>
<extends>QDialog</extends>
<header>nglwidgets/ngldialog.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>leName</tabstop>
<tabstop>sbMaxCount</tabstop>
<tabstop>chbIgnoreCount</tabstop>
<tabstop>dateEdit</tabstop>
<tabstop>timeEdit</tabstop>
<tabstop>chbIgnoreExpiration</tabstop>
<tabstop>nglDialogButtonBox</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>
+145
View File
@@ -0,0 +1,145 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>816</width>
<height>543</height>
</rect>
</property>
<property name="windowTitle">
<string>Licence Editor</string>
</property>
<property name="statusTip">
<string/>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonIconOnly</enum>
</property>
<property name="tabShape">
<enum>QTabWidget::Rounded</enum>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Encryption key:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="leEncKey"/>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="pbResetKey">
<property name="text">
<string>Reset</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="3">
<widget class="QTableView" name="tvContent">
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
<bool>true</bool>
</attribute>
</widget>
</item>
<item row="2" column="0" colspan="3">
<widget class="NGLDialogButtonBox" name="nglDialogButtonBox" native="true">
<property name="standardButtons">
<set>NGLStandardButton::Add|NGLStandardButton::Edit|NGLStandardButton::Remove|NGLStandardButton::Reset</set>
</property>
<property name="m_bLineVisible" stdset="0">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>816</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>Fi&amp;le</string>
</property>
<addaction name="actionOpen"/>
<addaction name="separator"/>
<addaction name="actionSave"/>
<addaction name="actionSave_As"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<addaction name="menuFile"/>
</widget>
<action name="actionExit">
<property name="text">
<string>&amp;Exit</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionOpen">
<property name="text">
<string>&amp;Open</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="actionSave">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Save</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="actionSave_As">
<property name="text">
<string>Sa&amp;ve As ...</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+S</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>NGLDialogButtonBox</class>
<extends>QWidget</extends>
<header>nglwidgets/ngldialogbuttonbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>leEncKey</tabstop>
<tabstop>pbResetKey</tabstop>
<tabstop>tvContent</tabstop>
</tabstops>
<resources/>
<connections/>
<slots>
<slot>oeffnenClicked()</slot>
</slots>
</ui>