Skip to content

Commit

Permalink
2.5.1: separate code and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Dec 1, 2023
1 parent 52a9a6f commit 1cc12c1
Show file tree
Hide file tree
Showing 35 changed files with 74 additions and 63 deletions.
10 changes: 0 additions & 10 deletions Icons.qrc

This file was deleted.

46 changes: 0 additions & 46 deletions QTalarm.pro

This file was deleted.

10 changes: 10 additions & 0 deletions icons.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<RCC>
<qresource prefix="/new/icons">
<file alias="clock.png">icons/1349069370_alarm_clock.png</file>
<file alias="mono.png">icons/1349069370_alarm_clock_mono.png</file>
</qresource>
<qresource prefix="/new/sounds">
<file alias="alarm.ogg">sounds/condition_one.ogg</file>
</qresource>
<qresource prefix="/"/>
</RCC>
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
57 changes: 57 additions & 0 deletions qtalarm.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#-------------------------------------------------
#
# Project created by QtCreator 2012-09-30T18:05:49
#
#-------------------------------------------------

QT += core gui multimedia

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = qtalarm
TEMPLATE = app


SOURCES += \
src/bastardsnooze.cpp \
src/schedulemodel.cpp \
src/timer.cpp \
src/alarm.cpp \
src/fileio.cpp \
src/schedules.cpp \
src/aboutdialog.cpp \
src/snooze.cpp \
src/settingdialog.cpp \
src/mainwindow.cpp \
src/main.cpp

HEADERS += \
src/bastardsnooze.h \
src/schedulemodel.h \
src/timer.h \
src/alarm.h \
src/fileio.h \
src/schedules.h \
src/aboutdialog.h \
src/snooze.h \
src/settingdialog.h \
src/mainwindow.h

FORMS += \
src/aboutdialog.ui \
src/bastardsnooze.ui \
src/snooze.ui \
src/settingdialog.ui \
src/mainwindow.ui

RESOURCES += \
icons.qrc

CONFIG += precompile_header

# build dir
UI_DIR = build
MOC_DIR = build
RCC_DIR = build
OBJECTS_DIR = build
mytarget.commands += $${QMAKE_MKDIR} build
File renamed without changes.
2 changes: 1 addition & 1 deletion aboutdialog.cpp → src/aboutdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
ui->setupUi(this);
//set Icon info
QPixmap image;
image.load(":/new/icons/Clock.png");
image.load(":/new/icons/clock.png");
ui->lblIcon->setPixmap(image);

QString InfoText;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion aboutdialog.ui → src/aboutdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</property>
<property name="windowIcon">
<iconset resource="Icons.qrc">
<normaloff>:/new/icons/Clock.png</normaloff>:/new/icons/Clock.png</iconset>
<normaloff>:/new/icons/clock.png</normaloff>:/new/icons/clock.png</iconset>
</property>
<property name="modal">
<bool>true</bool>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions mainwindow.cpp → src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ void MainWindow::SendTrayMessage(QString title, QString message)
{
icon = QIcon(":/new/icons/mono.png");
}else{
icon = QIcon(":/new/icons/Clock.png");
icon = QIcon(":/new/icons/clock.png");
}
trayIcon->showMessage(title,message,icon);
FileIO::SaveSeenSolveText();
Expand All @@ -543,7 +543,7 @@ void MainWindow::ChangeIconToDefault()
{
this->trayIcon->setIcon(QIcon(":/new/icons/mono.png"));
}else{
this->trayIcon->setIcon(QIcon(":/new/icons/Clock.png"));
this->trayIcon->setIcon(QIcon(":/new/icons/clock.png"));
}
}

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion mainwindow.ui → src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</property>
<property name="windowIcon">
<iconset resource="Icons.qrc">
<normaloff>:/new/icons/Clock.png</normaloff>:/new/icons/Clock.png</iconset>
<normaloff>:/new/icons/clock.png</normaloff>:/new/icons/clock.png</iconset>
</property>
<property name="autoFillBackground">
<bool>false</bool>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion settingdialog.cpp → src/settingdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void SettingDialog::Save()
{
_trayIcon->setIcon(QIcon(":/new/icons/mono.png"));
}else{
_trayIcon->setIcon(QIcon(":/new/icons/Clock.png"));
_trayIcon->setIcon(QIcon(":/new/icons/clock.png"));
}
this->deleteLater();
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion snooze.ui → src/snooze.ui
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</property>
<property name="windowIcon">
<iconset resource="Icons.qrc">
<normaloff>:/new/icons/Clock.png</normaloff>:/new/icons/Clock.png</iconset>
<normaloff>:/new/icons/clock.png</normaloff>:/new/icons/clock.png</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 1cc12c1

Please sign in to comment.