Merge branch 'master' of https://git.bukova.info/repos/git/prodejna
This commit is contained in:
@@ -5,5 +5,6 @@
|
||||
<file>style.css</file>
|
||||
<file>icons/settings.svg</file>
|
||||
<file>translations/prodejna_cs_CZ.qm</file>
|
||||
<file>icons/shop.ico</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@@ -22,6 +22,8 @@ win32 {
|
||||
INCLUDEPATH += $$ODB_INCLUDE_PREFIX/libodb-qt-2.4.0
|
||||
INCLUDEPATH += $$ODB_INCLUDE_PREFIX/libodb-sqlite-2.4.0
|
||||
INCLUDEPATH += $$ODB_INCLUDE_PREFIX/sqlite
|
||||
|
||||
RC_FILE = shop.rc
|
||||
}
|
||||
|
||||
SOURCES += main.cpp\
|
||||
@@ -61,3 +63,6 @@ RESOURCES += \
|
||||
appRc.qrc
|
||||
|
||||
TRANSLATIONS = translations/prodejna_cz.ts
|
||||
|
||||
DISTFILES += \
|
||||
shop.rc
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -59,7 +59,7 @@
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<widget class="QWidget" name="widget1" native="true">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_2" native="true">
|
||||
|
||||
@@ -19,7 +19,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
MainWindow w;
|
||||
w.move(QApplication::desktop()->screen()->rect().center() - w.rect().center());
|
||||
w.show();
|
||||
w.showMaximized();
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="appRc.qrc">
|
||||
<normaloff>:/icons/shop.ico</normaloff>:/icons/shop.ico</iconset>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="spacing">
|
||||
@@ -56,12 +60,12 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1000</width>
|
||||
<height>21</height>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFile">
|
||||
<property name="title">
|
||||
<string>File</string>
|
||||
<string>Fi&le</string>
|
||||
</property>
|
||||
<addaction name="actionOpen_database"/>
|
||||
<addaction name="actionLogin"/>
|
||||
@@ -83,12 +87,12 @@
|
||||
<widget class="QStatusBar" name="statusBar"/>
|
||||
<action name="actionExit">
|
||||
<property name="text">
|
||||
<string>Exit</string>
|
||||
<string>&Exit</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionOpen_database">
|
||||
<property name="text">
|
||||
<string>Open database...</string>
|
||||
<string>&Open database...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionLogin">
|
||||
@@ -97,7 +101,7 @@
|
||||
<normaloff>:/icons/login_32.png</normaloff>:/icons/login_32.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Login...</string>
|
||||
<string>&Login...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSettings">
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -0,0 +1 @@
|
||||
IDI_ICON1 ICON DISCARDABLE "shop.ico"
|
||||
@@ -18,5 +18,6 @@
|
||||
#navigation QToolButton {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
min-width: 80px;
|
||||
min-width: 90px;
|
||||
font: 10pt;
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -20,31 +20,47 @@
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="14"/>
|
||||
<source>MainWindow</source>
|
||||
<translation type="unfinished">Prodejna</translation>
|
||||
<translation>Prodejna</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="68"/>
|
||||
<source>Fi&le</source>
|
||||
<translation>&Soubor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="90"/>
|
||||
<source>&Exit</source>
|
||||
<translation>&Konec</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="95"/>
|
||||
<source>&Open database...</source>
|
||||
<translation>&Otevřít databázi...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="104"/>
|
||||
<source>&Login...</source>
|
||||
<translation>&Přihlásit...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="64"/>
|
||||
<source>File</source>
|
||||
<translation>Soubor</translation>
|
||||
<translation type="vanished">Soubor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="86"/>
|
||||
<source>Exit</source>
|
||||
<translation>Konec</translation>
|
||||
<translation type="vanished">Konec</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="91"/>
|
||||
<source>Open database...</source>
|
||||
<translation>Otevřít databázi...</translation>
|
||||
<translation type="vanished">Otevřít databázi...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="100"/>
|
||||
<source>Login...</source>
|
||||
<translation>Přihlásit se...</translation>
|
||||
<translation type="vanished">Přihlásit se...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="109"/>
|
||||
<location filename="../mainwindow.ui" line="112"/>
|
||||
<location filename="../mainwindow.ui" line="113"/>
|
||||
<location filename="../mainwindow.ui" line="116"/>
|
||||
<source>Settings</source>
|
||||
<translation>Nastavení</translation>
|
||||
</message>
|
||||
|
||||
Reference in New Issue
Block a user