Check-in [c987d861d1]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:MainWindow: remove unneeded headers. PortalDialer: cancel autofill setting
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | improvements-to-main-menu
Files: files | file ages | folders
SHA1:c987d861d1a92cfaab77d891240b711dccf8ae20
User & Date: tion 2019-02-15 22:50:56
Context
2019-02-15
23:20
coordinateData: add destructor check-in: 7a8afa9233 user: tion tags: improvements-to-main-menu
22:50
MainWindow: remove unneeded headers. PortalDialer: cancel autofill setting check-in: c987d861d1 user: tion tags: improvements-to-main-menu
22:33
MainWindow: code improvements. PortalDialer: glyphs become disabled when 12-digit code entered check-in: 75df4b5141 user: tion tags: improvements-to-main-menu
Changes

Changes to src/MainWindow.h.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//==================================================================
#ifndef __NMS_CONVERT_MAIN_WINDOW_H__
#define __NMS_CONVERT_MAIN_WINDOW_H__
//==================================================================
#include <QMainWindow>
#include <QAction>
#include <QMenu>

#include "CoordinateMainWindow.h"
#include "PortalAddressWindow.h"
#include "PortalAddressPickerWindow.h"
//==================================================================
//class ToolBar;
//QT_FORWARD_DECLARE_CLASS (QMenu)
/** \class MainWindow
 * 
 *  \brief The main window to handle coordinate/glyph code
 *  conversion.
 * 
 *  To create a MainWindow:
 * 




<
<
<
<




<
<







1
2
3
4




5
6
7
8


9
10
11
12
13
14
15
//==================================================================
#ifndef __NMS_CONVERT_MAIN_WINDOW_H__
#define __NMS_CONVERT_MAIN_WINDOW_H__
//==================================================================




#include "CoordinateMainWindow.h"
#include "PortalAddressWindow.h"
#include "PortalAddressPickerWindow.h"
//==================================================================


/** \class MainWindow
 * 
 *  \brief The main window to handle coordinate/glyph code
 *  conversion.
 * 
 *  To create a MainWindow:
 * 

Changes to src/PortalAddressPickerWindow.cpp.

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

   for (int i = 0; i < 16; i++)
   {
      glyph_input[i] = new QPushButton;
      glyph_input[i] -> setDisabled (false);
      glyph_input[i] -> setIconSize (QSize(40, 40));
      glyph_input[i] -> setMaximumSize (QSize (60,60));
      glyph_input[i] -> setAutoFillBackground (true);
      glyph_input[i] -> setCheckable (false);
      glyph_input[i] -> setFlat (true);
      glyph_input[i] -> setIcon (QIcon (QString (":" + QString(
                                           convert_integer_to_hex(i)).toUpper() + QString(".jpg"))));
   /*
      if ( i < 12 ) {
         glyph_select[i] = new QPushButton;







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

   for (int i = 0; i < 16; i++)
   {
      glyph_input[i] = new QPushButton;
      glyph_input[i] -> setDisabled (false);
      glyph_input[i] -> setIconSize (QSize(40, 40));
      glyph_input[i] -> setMaximumSize (QSize (60,60));
      glyph_input[i] -> setAutoFillBackground (false);
      glyph_input[i] -> setCheckable (false);
      glyph_input[i] -> setFlat (true);
      glyph_input[i] -> setIcon (QIcon (QString (":" + QString(
                                           convert_integer_to_hex(i)).toUpper() + QString(".jpg"))));
   /*
      if ( i < 12 ) {
         glyph_select[i] = new QPushButton;