mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Create simple class to hold the location management.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
63e998b4bd
commit
3516ff2ab2
4 changed files with 19 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>GroupBox</class>
|
||||
<widget class="QGroupBox" name="GroupBox">
|
||||
<class>LocationInformation</class>
|
||||
<widget class="QGroupBox" name="LocationInformation">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
|
|
@ -646,3 +646,7 @@ void MultiFilter::closeFilter()
|
|||
MultiFilterSortModel::instance()->clearFilter();
|
||||
hide();
|
||||
}
|
||||
|
||||
LocationInformationWidget::LocationInformationWidget(QWidget *parent) : QGroupBox(parent) {
|
||||
ui.setupUi(this);
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ class QAbstractButton;
|
|||
class QNetworkReply;
|
||||
|
||||
#include <QWidget>
|
||||
#include <QGroupBox>
|
||||
#include <QDialog>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -214,6 +215,16 @@ private:
|
|||
Ui::FilterWidget ui;
|
||||
};
|
||||
|
||||
#include "ui_locationInformation.h"
|
||||
|
||||
class LocationInformationWidget : public QGroupBox {
|
||||
Q_OBJECT
|
||||
public:
|
||||
LocationInformationWidget(QWidget *parent = 0);
|
||||
private:
|
||||
Ui::LocationInformation ui;
|
||||
};
|
||||
|
||||
bool isGnome3Session();
|
||||
QImage grayImage(const QImage &coloredImg);
|
||||
|
||||
|
|
|
@ -238,7 +238,8 @@ FORMS = \
|
|||
qt-ui/listfilter.ui \
|
||||
qt-ui/diveshareexportdialog.ui \
|
||||
qt-ui/filterwidget.ui \
|
||||
qt-ui/plannerDetails.ui
|
||||
qt-ui/plannerDetails.ui \
|
||||
qt-ui/locationInformation.ui
|
||||
|
||||
# Nether usermanual or printing is supported on android right now
|
||||
android: FORMS -= qt-ui/printoptions.ui
|
||||
|
|
Loading…
Reference in a new issue